KickPlayer
Kicks a player from the server with a reason.
C# Syntax
void NAPI.Player.KickPlayer(Client player, string reason);
Parameters
- player: Parameter input should be in Client type.
- reason: Parameter input should be in string type.
Example
NAPI.Player.KickPlayer(player, "Get out of my beast server!!!");