Skip to content

function getPlayerName (server-side)

Available since version: 0.0.1

This function will get the player nickname.

Declaration

string getPlayerName(int id)

Parameters

  • int id: the player id.

Returns string

the player nickname.