function
getPlayerName (client-side)
Available since version: 0.0.1
This function will get the player/npc nickname set for client.
Declaration
string|null getPlayerName(int id)
Parameters
int
id: the player id.
Returns string|null
the player nickname or null
if player isn't created.