Skip to content

function getPlayerColor (server-side)

Available since version: 0.0.1

This function will get the player/npc nickname color.

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.