KickPlayer(client_id)

Description

This function can be called by any Client. It forcefully kills the connection between the server and the Client who's clientId you provided.

Syntax

KickPlayer(client_id)
ArgumentDescription

client_id

The RNet Client Id of the player you want to kick. This must be a Number

Returns

N/A

The Client you kicked will run the callback_DisconnectedFromServer function and then ths server will kill its connection.

Last updated