# getVehicleWheelCamber (Shared)

> Returns the camber of a vehicle's wheels.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Vehicles
- **URL**: https://wiki.mymp.gg/en/getVehicleWheelCamber

## Syntax

```lua
float|table|false getVehicleWheelCamber(vehicle vehicle [, int|string|table wheels = "all"])
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vehicle` | `vehicle` | The vehicle. |
| `wheels` | `int\|string\|table` | Which wheels: a number (0 front left, 1 rear left, 2 front right, 3 rear right, 4 onwards the extra wheels, -1 all), the wheel's name (`wheel_lf`, `wheel_lr`, `wheel_rf`, `wheel_rr` or an extra wheel such as `wheel_lm1`), a group (`all`, `front_wheels`, `rear_wheels`, `left_wheels`, `right_wheels`) or a table of these. All of them by default. *(default: `"all"`)* |

## Returns

The camber in degrees. A single value when `wheels` is one number or name outside a table; otherwise a table keyed by wheel name. `false` if the vehicle lacks any of the wheels asked for.

## Example

```lua
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    for wheel, camber in pairs(getVehicleWheelCamber(vehicle)) do
        outputDebugString(wheel .. ": " .. camber)
    end
end
```

## See also

- [setVehicleWheelCamber (Shared)](https://wiki.mymp.gg/en/setVehicleWheelCamber.md): Tilts a vehicle's wheels in or out (camber).
