getClientFromPlayerElement

From GTA Connected
(Redirected from GetClientFromPlayerElement)
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Client getClientFromPlayerElement(Player player)

Description

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

Parameters

Type Name Presence Default Value Description
Player player required n/a The player element to fetch the client object for.

Returns

Success Returns

Type Description
Client The client object for the player element.

Failure Returns

Type Value
null n/a

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

client.administrator
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

getClientFromPlayerElement
getClients
localClient

client.game
client.getData
client.index
client.name
client.player
client.removeAllData
client.removeData
client.setData