The Lab
VEHICLE native

SET_VEHICLE_LIGHTS

returns void2 paramsbuild 1207

Sets the light state of vehicle.

Signature

C
void SET_VEHICLE_LIGHTS(Vehicle vehicle, int state); // 0x629F0A0E952CAE7D b1207

Parameters

#NameType
1vehicleVehicle
2stateint

Facts

Facts about SET_VEHICLE_LIGHTS
Name
SET_VEHICLE_LIGHTS
Hash
0x629F0A0E952CAE7D
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(0x629F0A0E952CAE7D, -- SET_VEHICLE_LIGHTS
  0, -- Vehicle vehicle
  0 -- int state
)
JavaScript
Citizen.invokeNative("0x629F0A0E952CAE7D", // SET_VEHICLE_LIGHTS
  0, // Vehicle vehicle
  0 // int state
);
C#
Function.Call((Hash)0x629F0A0E952CAE7D, // SET_VEHICLE_LIGHTS
  0, // Vehicle vehicle
  0 // int state
);
All VEHICLE natives

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