function getPlayerPing (client-side)
Available since version: 0.0.1
This function will get the player ping.
Ping gets updated after each 2500 miliseconds.
Declaration
int|null getPlayerPing(int id)
Parameters
intid: the player id.
Returns int|null
the current player ping or null if player isn't created.