# VEHICLE::SET_VEHICLE_EXTRA

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

## Signature

```c
void SET_VEHICLE_EXTRA(Vehicle vehicle, int extraId, BOOL disable);
```

## Parameters

- `vehicle` (`Vehicle`)
- `extraId` (`int`)
- `disable` (`BOOL`)

## Returns

`void`

## Description

Note: only some vehicle have extras
https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_extras.lua

## Usage

### Lua

```lua
SetVehicleExtra(vehicle, extraId, disable)

-- always available, by hash
Citizen.InvokeNative(0xBB6F89150BC9D16B, vehicle, extraId, disable)
```

### JavaScript

```js
SetVehicleExtra(vehicle, extraId, disable);

// by hash
Citizen.invokeNative('0xBB6F89150BC9D16B', vehicle, extraId, disable);
```

### C#

```csharp
Function.Call((Hash)0xBB6F89150BC9D16B, vehicle, extraId, disable);
```

*Sources: alloc8or RDR3 NativeDB.*
