The Lab
PED native

_SET_PED_LIGHTS

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to toggle lights attached to ped.

Signature

C
void _SET_PED_LIGHTS(Ped ped, BOOL toggle); // 0x13A210949FCBD92B b1207

Parameters

#NameType
1pedPed
2toggleBOOL

Facts

Facts about _SET_PED_LIGHTS
Name
_SET_PED_LIGHTS
Hash
0x13A210949FCBD92B
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(0x13A210949FCBD92B, -- _SET_PED_LIGHTS
  PlayerPedId(), -- Ped ped
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x13A210949FCBD92B", // _SET_PED_LIGHTS
  PlayerPedId(), // Ped ped
  false // BOOL toggle
);
C#
Function.Call((Hash)0x13A210949FCBD92B, // _SET_PED_LIGHTS
  API.PlayerPedId(), // Ped ped
  false // BOOL toggle
);
All PED natives

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