RedM Natives

SET_VEHICLE_LIGHTS

Sets the vehicle's lights state.

Hash0x629F0A0E952CAE7D
Runtime nameSetVehicleLights
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x34E710FF01247C5A

Signature

void SET_VEHICLE_LIGHTS(Vehicle vehicle, int state);

Parameters

NameTypeDescription
vehicleVehicle—
stateint—

Returns void

Description

Sets the vehicle's lights state.

Usage

Lua
SetVehicleLights(vehicle, state)

-- always works, by hash
Citizen.InvokeNative(0x629F0A0E952CAE7D, vehicle, state)
JavaScript and C#
JavaScript
SetVehicleLights(vehicle, state);

// by hash
Citizen.invokeNative('0x629F0A0E952CAE7D', vehicle, state);
C#
Function.Call((Hash)0x629F0A0E952CAE7D, vehicle, state);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.