Static function
Moderate
Server.KickByAccountID
Kicks the player from the server by its Account ID, ideal for kicking from inside PlayerConnect event
Syntax
Server.KickByAccountID(player_account_id, reason)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
player_account_id
|
string | — | — |
reason
|
string | — | — |