ADMIN
Administrative functions (kick, ban).
Availability: Server-only
Methods
ADMIN.ban
server
Ban a player from the game (server-side only)
Signature: action(num)
Parameters:
| Name | Type | Description |
|---|---|---|
playerID | num | The player ID to ban |
GAME.ADMIN.ban(0);
ADMIN.kick
server
Kick a player from the game (server-side only)
Signature: action(num)
Parameters:
| Name | Type | Description |
|---|---|---|
playerID | num | The player ID to kick |
GAME.ADMIN.kick(0);