getClient

From GTA Connected
Jump to: navigation, search

Function Server Only All Games Online and Offline

Server 1.0.0

Client getClient(int clientId)

Description

The getClient function is used to fetch a Client element from an integer client ID.

Parameters

Type Name Presence Default Value Description
int clientId required n/a The integer client ID.

Returns

Success Returns

Type Description
Client The Client object for the integer client ID.

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