Skip to content

function getPlayerColor (server-side)

Available since version: 0.0.1

This function will get the player nickname color.

Declaration

{r, g, b} getPlayerColor(int id)

Parameters

  • int id: the player id.

Returns {r, g, b}

the player nickname color.