setEntityIconVisibility
SET_ENTITY_ICON_VISIBILITY0xE0E8BEECCA96BA31The GTA V native SET_ENTITY_ICON_VISIBILITY of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setEntityIconVisibility, in JavaScript and in Lua.
setEntityIconVisibility(entity: Entity, toggle: boolean): voidsetEntityIconVisibility(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityIconVisibility(entity, toggle);Lua
setEntityIconVisibility(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_ENTITY_ICON_VISIBILITY(Entity entity, BOOL toggle)- Hash
0xE0E8BEECCA96BA31