getClients

From GTA Connected
(Redirected from GetClients)
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Description

The getClients function is used to fetch all client handles.

Parameters

Type Description
void This function doesn't take any parameters.

Returns

Success Returns

Type Description
array An array of all clients with syntax array<int index, Client client>.

Failure Returns

Type Value
array []

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