The Lab
ENTITY native

_SET_ENTITY_LIGHTS_ENABLED

returns void2 paramsbuild 1207

Enables or disables the lights of the entity.

Signature

C
void _SET_ENTITY_LIGHTS_ENABLED(Entity entity, BOOL toggle); // 0xEBDC12861D079ABA b1207

Parameters

#NameType
1entityEntity
2toggleBOOL

Facts

Facts about _SET_ENTITY_LIGHTS_ENABLED
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.

Lua
Citizen.InvokeNative(0xEBDC12861D079ABA, -- _SET_ENTITY_LIGHTS_ENABLED
  PlayerPedId(), -- Entity entity
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xEBDC12861D079ABA", // _SET_ENTITY_LIGHTS_ENABLED
  PlayerPedId(), // Entity entity
  false // BOOL toggle
);
C#
Function.Call((Hash)0xEBDC12861D079ABA, // _SET_ENTITY_LIGHTS_ENABLED
  API.PlayerPedId(), // Entity entity
  false // BOOL toggle
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.