GraphicsClient

updateLightsOnEntity

UPDATE_LIGHTS_ON_ENTITY0xDEADC0DEDEADC0DE

The 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.

SignatureJavaScript
updateLightsOnEntity(entity: Entity): void
SignatureLua
updateLightsOnEntity(entity: Entity)

Usage

JavaScript
updateLightsOnEntity(entity);
Lua
updateLightsOnEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

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

Open in the interactive natives reference