socket.sendClient

From GTA Connected
Jump to: navigation, search

Method Server Only All Games Online and Offline

Server 1.0.0

bool socket.sendClient(int connection, string data)

Description

The socket.sendClient method is used to send a packet of data to a specific connected ID.

Parameters

Documentation Missing: Parameters

Returns

Success Returns

Type Description
bool Documentation Missing: Description for success return value

Failure Returns

Documentation Missing: Failure returns

Types

This method can only be used on the Socket type.

Notes

  • This is only used if the socket was started in server mode via socket.start.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

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