SET_VEHICLE_LIGHTS
Sets the vehicle's lights state.
Hash
0x629F0A0E952CAE7DRuntime name
SetVehicleLightsNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x34E710FF01247C5ASignature
void SET_VEHICLE_LIGHTS(Vehicle vehicle, int state);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
state | int | — |
Returns void
Description
Sets the vehicle's lights state.
Usage
SetVehicleLights(vehicle, state)
-- always works, by hash
Citizen.InvokeNative(0x629F0A0E952CAE7D, vehicle, state)JavaScript and C#
SetVehicleLights(vehicle, state);
// by hash
Citizen.invokeNative('0x629F0A0E952CAE7D', vehicle, state);Function.Call((Hash)0x629F0A0E952CAE7D, vehicle, state);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.