The Lab
GRAPHICS native

_SET_LIGHTS_INTENSITY_FOR_ENTITY

returns void2 paramsbuild 1207

Sets the intensity of lights attached to entity.

Signature

C
void _SET_LIGHTS_INTENSITY_FOR_ENTITY(Entity entity, float intensity); // 0x07C0F87AAC57F2E4 b1207

Parameters

#NameType
1entityEntity
2intensityfloat

Facts

Facts about _SET_LIGHTS_INTENSITY_FOR_ENTITY
Name
_SET_LIGHTS_INTENSITY_FOR_ENTITY
Hash
0x07C0F87AAC57F2E4
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(0x07C0F87AAC57F2E4, -- _SET_LIGHTS_INTENSITY_FOR_ENTITY
  PlayerPedId(), -- Entity entity
  0.0 -- float intensity
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x07C0F87AAC57F2E4", // _SET_LIGHTS_INTENSITY_FOR_ENTITY
  PlayerPedId(), // Entity entity
  0.0 // float intensity
);
C#
Function.Call((Hash)0x07C0F87AAC57F2E4, // _SET_LIGHTS_INTENSITY_FOR_ENTITY
  API.PlayerPedId(), // Entity entity
  0.0f // float intensity
);
All GRAPHICS natives

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