updateLightsOnEntity
UPDATE_LIGHTS_ON_ENTITY0xDEADC0DEDEADC0DEThe GTA V native UPDATE_LIGHTS_ON_ENTITY of the GRAPHICS namespace, as LS:MP client scripts call it: the global function updateLightsOnEntity, in JavaScript and in Lua.
updateLightsOnEntity(entity: Entity): voidupdateLightsOnEntity(entity: Entity)Usage
JavaScript
updateLightsOnEntity(entity);Lua
updateLightsOnEntity(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void UPDATE_LIGHTS_ON_ENTITY(Entity entity)- Hash
0xDEADC0DEDEADC0DE- Formerly
_ENTITY_DESCRIPTION_TEXT