function
getPlayerLevel (client-side)
Available since version: 0.1.5.2
This function will get the player/npc level.
Declaration
int|null getPlayerLevel(int id)
Parameters
int
id: the player id.
Returns int|null
the level or null
if player isn't spawned.