function getPlayerPing (client-side)
Available since version: 0.0.1
The function can return
-1 if player isn't connected, or when you call it on npc.
This function will get the player ping.
Ping gets updated after each 2500 miliseconds.
int getPlayerPing(int id)
intid: the player id.
the current player ping.