# VEHICLE::DOES_EXTRA_EXIST

- **Hash:** `0xAF5E7E9A7620FFB5`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `DoesExtraExist`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/DOES_EXTRA_EXIST

## Signature

```c
BOOL DOES_EXTRA_EXIST(Vehicle vehicle, int extraId);
```

## Parameters

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

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = DoesExtraExist(vehicle, extraId)

-- always available, by hash
local retval = Citizen.InvokeNative(0xAF5E7E9A7620FFB5, vehicle, extraId, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = DoesExtraExist(vehicle, extraId);

// by hash
const retval = Citizen.invokeNative('0xAF5E7E9A7620FFB5', vehicle, extraId, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xAF5E7E9A7620FFB5, vehicle, extraId);
```

*Sources: alloc8or RDR3 NativeDB.*
