# getPedBikeControl (Client)

> Gets a ped's skill at riding bikes and motorbikes.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Peds
- **URL**: https://wiki.mymp.gg/en/getPedBikeControl

## Syntax

```lua
float|false getPedBikeControl(ped ped)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |

## Returns

The stored value (the default is `0`), or `false` if the ped does not exist in the game.

## Example

```lua
local skill = getPedBikeControl(localPlayer)
setPedBikeControl(localPlayer, math.min(skill + 0.1, 1))
```

## See also

- [setPedBikeControl (Client)](https://wiki.mymp.gg/en/setPedBikeControl.md): Sets a ped's skill at riding bikes and motorbikes.
- [canPedBeKnockedOffBike (Client)](https://wiki.mymp.gg/en/canPedBeKnockedOffBike.md): Tells whether a ped can be knocked off a bike or motorbike in a crash.
