# getVehicleHydraulicsControl (Shared)

> Returns how far `setVehicleHydraulicsControl` told each wheel of a vehicle to rise.

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

## Syntax

```lua
float|false getVehicleHydraulicsControl(vehicle vehicle)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vehicle` | `vehicle` | The vehicle. |

## Returns

Four values from 0 to 1: front left, rear left, front right and rear right. `false` if the element is not a vehicle.

## Example

```lua
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    local frontLeft, rearLeft, frontRight, rearRight = getVehicleHydraulicsControl(vehicle)
    outputDebugString(frontLeft .. " " .. rearLeft .. " " .. frontRight .. " " .. rearRight)
end
```

## See also

- [setVehicleHydraulicsControl (Shared)](https://wiki.mymp.gg/en/setVehicleHydraulicsControl.md): Raises each wheel of a vehicle with its hydraulics, with nobody at the controls.
- [getVehicleHydraulics (Shared)](https://wiki.mymp.gg/en/getVehicleHydraulics.md): Tells whether a vehicle has hydraulics fitted by setVehicleHydraulics.
