Skip to content

function getPlayerColor (client-side)

Available since version: 0.0.1

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

Declaration

Color|null getPlayerColor(int id)

Parameters

  • int id: the player id.

Returns Color|null

the player nickname color or null if player isn't created.