player.kick

Description

Kick a player with a reason.

Syntax

kick(reason?: string): void;

Real World Example

const ping = player.ping;
if (player.ping >= 200) {
    player.kick('Ping too high');
    return;
}

results matching ""

    No results matching ""