- Documentation
- Shared functions
- getPlayerBlipColor
Function
getPlayerBlipColor
Returns the colour of a player's map icon.
Syntax
int getPlayerBlipColor(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
r, g, b, a (255, 0, 0, 255 by default).
Example
local r, g, b = getPlayerBlipColor(player)