function getPlayerName (client-side)
Available since version: 0.3.0
This function will return the player/npc current character name, or nil if unavailable.
Declaration
string|nil getPlayerName(number player_id)
Parameters
numberplayer_id: Target player id.
Returns string|nil
Player name or nil.