player.kick

Description

Kick a player with a reason.

Syntax

kick(reason?: string): void;

Example Usage

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

results matching ""

    No results matching ""