# VEHICLE::SET_VEHICLE_LIGHTS

- **Hash:** `0x629F0A0E952CAE7D`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetVehicleLights`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_LIGHTS

## Signature

```c
void SET_VEHICLE_LIGHTS(Vehicle vehicle, int state);
```

## Parameters

- `vehicle` (`Vehicle`)
- `state` (`int`)

## Returns

`void`

## Description

Sets the vehicle's lights state.

## Usage

### Lua

```lua
SetVehicleLights(vehicle, state)

-- always available, by hash
Citizen.InvokeNative(0x629F0A0E952CAE7D, vehicle, state)
```

### JavaScript

```js
SetVehicleLights(vehicle, state);

// by hash
Citizen.invokeNative('0x629F0A0E952CAE7D', vehicle, state);
```

### C#

```csharp
Function.Call((Hash)0x629F0A0E952CAE7D, vehicle, state);
```

*Sources: alloc8or RDR3 NativeDB.*
