client.disconnect

From GTA Connected
Jump to: navigation, search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void client.disconnect(void)

Description

The client.disconnect method is used to disconnect a client from the server.

Parameters

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

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can only be used on the Client type.

Notes

There aren't any notes for this method.

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


Client Related

getClientFromPlayerElement
getClients
localClient

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