_SET_ENTITY_LIGHTS_ENABLED
Enables or disables the lights of the entity.
Signature
void _SET_ENTITY_LIGHTS_ENABLED(Entity entity, BOOL toggle); // 0xEBDC12861D079ABA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | toggle | BOOL |
Facts
| Name | _SET_ENTITY_LIGHTS_ENABLED |
|---|---|
| Hash | 0xEBDC12861D079ABA |
| 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(0xEBDC12861D079ABA, -- _SET_ENTITY_LIGHTS_ENABLED
PlayerPedId(), -- Entity entity
false -- BOOL toggle
)Citizen.invokeNative("0xEBDC12861D079ABA", // _SET_ENTITY_LIGHTS_ENABLED
PlayerPedId(), // Entity entity
false // BOOL toggle
);Function.Call((Hash)0xEBDC12861D079ABA, // _SET_ENTITY_LIGHTS_ENABLED
API.PlayerPedId(), // Entity entity
false // BOOL toggle
);Related ENTITY natives
- _SET_ENTITY_LIGHTS_OFF
- _SET_ENTITY_LOCKON_POINT_OFFSET
- _SET_ENTITY_ANIM_AGE
- _SET_ENTITY_ANIM_CURRENT_TIME
- _SET_ENTITY_ANIM_SPEED
- _SET_ENTITY_ATTACHED_OFFSET
- _SET_ENTITY_CARCASS_TYPE
- _SET_ENTITY_CARRYING_FLAG
- _SET_ENTITY_COORDS_AND_HEADING
- _SET_ENTITY_COORDS_AND_HEADING_NO_OFFSET
- _SET_ENTITY_CUSTOM_PICKUP_RADIUS
- _SET_ENTITY_DISABLE_FIRE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.