setEntityIconColor
SET_ENTITY_ICON_COLOR0x1D5F595CCAE2E238The GTA V native SET_ENTITY_ICON_COLOR of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setEntityIconColor, in JavaScript and in Lua.
setEntityIconColor(
entity: Entity,
red: number,
green: number,
blue: number,
alpha: number
): voidsetEntityIconColor(
entity: Entity,
red: integer,
green: integer,
blue: integer,
alpha: integer
)Usage
JavaScript
setEntityIconColor(entity, red, green, blue, alpha);Lua
setEntityIconColor(entity, red, green, blue, alpha)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
red | int | number | integer |
green | int | number | integer |
blue | int | number | integer |
alpha | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_ENTITY_ICON_COLOR(Entity entity, int red, int green, int blue, int alpha)- Hash
0x1D5F595CCAE2E238