Skip to content

function getPlayerName (client-side)

Available since version: 0.0.1

This function will get the player/npc nickname set for client.

Declaration

string getPlayerName(int id)

Parameters

  • int id: the player id.

Returns string

the player nickname.