setPlayerIconColour
SET_PLAYER_ICON_COLOUR0x7B21E0BB01E8224AThe GTA V native SET_PLAYER_ICON_COLOUR of the HUD namespace, as LS:MP client scripts call it: the global function setPlayerIconColour, in JavaScript and in Lua.
setPlayerIconColour(color: number): voidsetPlayerIconColour(color: integer)Usage
JavaScript
setPlayerIconColour(color);Lua
setPlayerIconColour(color)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
color | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_PLAYER_ICON_COLOUR(int color)- Hash
0x7B21E0BB01E8224A- Formerly
_SET_MAIN_PLAYER_BLIP_COLOUR