# getModelHandling (Server)

> Reads a vehicle model's handling, which new vehicles of that model start with.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Server
- **Category**: Handling
- **URL**: https://wiki.mymp.gg/en/getModelHandling

## Syntax

```lua
table getModelHandling(string model)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `model` | `string` | The vehicle model's name. |

## Returns

A table with every property, as `getVehicleHandling` returns it.

It starts as the original handling and changes with `setModelHandling`.

## Example

```lua
local handling = getModelHandling("infernus")
outputDebugString("infernus top speed: " .. handling.maxVelocity)
```

### Coming from MTA

MTA takes a model id; here the model is given by name.

### Note

A name that is not a vehicle model's raises an error.

## See also

- [setModelHandling (Server)](https://wiki.mymp.gg/en/setModelHandling.md): Changes a property of a vehicle model's handling, which new vehicles of that model start with.
- [getOriginalHandling (Server)](https://wiki.mymp.gg/en/getOriginalHandling-server.md): Reads a vehicle model's original handling, as the content packs declare it, without any script's changes.
- [getVehicleHandling (Shared)](https://wiki.mymp.gg/en/getVehicleHandling.md): Reads a vehicle's handling: its mass, engine, traction, suspension and the rest of what decides how it drives.
