UPDATE_LIGHTS_ON_ENTITY
Applies pending light changes on entity.
Signature
void UPDATE_LIGHTS_ON_ENTITY(Entity entity); // 0xBDBACB52A03CC760 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | UPDATE_LIGHTS_ON_ENTITY |
|---|---|
| Hash | 0xBDBACB52A03CC760 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xBDBACB52A03CC760, -- UPDATE_LIGHTS_ON_ENTITY
PlayerPedId() -- Entity entity
)Citizen.invokeNative("0xBDBACB52A03CC760", // UPDATE_LIGHTS_ON_ENTITY
PlayerPedId() // Entity entity
);Function.Call((Hash)0xBDBACB52A03CC760, // UPDATE_LIGHTS_ON_ENTITY
API.PlayerPedId() // Entity entity
);Related GRAPHICS natives
- _ADD_ENTITY_TO_ENTITY_MASK
- _ADD_ENTITY_TO_ENTITY_MASK_WITH_INTENSITY
- _REMOVE_ENTITY_FROM_ENTITY_MASK
- _SET_LIGHTS_COLOR_FOR_ENTITY
- _SET_LIGHTS_INTENSITY_FOR_ENTITY
- _SET_LIGHTS_TYPE_FOR_ENTITY
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY
- START_PARTICLE_FX_LOOPED_ON_ENTITY
- START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.