getClientFromPlayerElement

Revision as of 20:36, 19 November 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Client getClientFromPlayerElement(Player player)

The getClientFromPlayerElement function is used to fetch a Client element from a Player element.

Parameters

1) Player player The player element to fetch the client object for.

Return

Client The client object for the player element.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

        getClient
        getClientFromPlayerElement
        getClients
        localClient

        client.administrator
        client.cameraInterior
        client.console
        client.despawnPlayer
        client.disconnect
        client.game
        client.gameVersion
        client.getData
        client.index
        client.ip
        client.name
        client.ping
        client.player
        client.removeAllData
        client.removeData
        client.setData


Client Related

        getClient
        getClientFromPlayerElement
        getClients
        localClient

        client.administrator
        client.console
        client.despawnPlayer
        client.disconnect
        client.game
        client.gameVersion
        client.getData
        client.index
        client.ip
        client.name
        client.ping
        client.player
        client.removeAllData
        client.removeData
        client.setData