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