# VEHICLE::GET_VEHICLE_MODEL_NUMBER_OF_SEATS

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

## Signature

```c
int GET_VEHICLE_MODEL_NUMBER_OF_SEATS(Hash modelHash);
```

## Parameters

- `modelHash` (`Hash`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetVehicleModelNumberOfSeats(modelHash)

-- always available, by hash
local retval = Citizen.InvokeNative(0x9A578736FF3A17C3, modelHash, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetVehicleModelNumberOfSeats(modelHash);

// by hash
const retval = Citizen.invokeNative('0x9A578736FF3A17C3', modelHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x9A578736FF3A17C3, modelHash);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: alloc8or RDR3 NativeDB.*
