player.ping

Description

Get the player's current ping.

Syntax

readonly ping: number;

Real World Example

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

results matching ""

    No results matching ""