Skip to content

GetPlayerPing

The player’s round trip to the server in milliseconds.

GetPlayerPing(pid)
Parameter Type
pid number the player

number - milliseconds; -1 when not connected

SendClientMessage(pid, COLOUR_SERVER, "your ping is " .. GetPlayerPing(pid) .. " ms")

GetPlayerIP · the Players group of the index