Skip to content

function setPlayerName (client-side)

Available since version: 0.0.1

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

Declaration

void setPlayerName(int id, string name)

Parameters

  • int id: the player id.
  • string name: the playe/npc name.