player.ping

Description

Get the player's current ping.

Syntax

readonly ping: number;

Example Usage

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

results matching ""

    No results matching ""