function getPlayerColor (client-side)
Available since version: 0.3.0
This function will return the player/npc current character name color, or nil if unavailable.
Declaration
{r, g, b}|nil getPlayerColor(number player_id)
Parameters
numberplayer_id: Target player id.
Returns {r, g, b}|nil
Table containing color in RGB model or nil.