# setPedCyclePower (Client)

> Sets how hard a ped pedals a bicycle.

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

## Syntax

```lua
bool setPedCyclePower(ped ped, float power)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |
| `power` | `float` | Multiplier of the pedalling force. The default is `1`. |

## Returns

`true` if it was set, `false` if the ped does not exist in the game.

In the original SA this value came from a player stat; here every ped has its own.

## Example

```lua
setPedCyclePower(localPlayer, 1.5)
```

## See also

- [getPedCyclePower (Client)](https://wiki.mymp.gg/en/getPedCyclePower.md): Gets how hard a ped pedals a bicycle.
- [setPedBikeControl (Client)](https://wiki.mymp.gg/en/setPedBikeControl.md): Sets a ped's skill at riding bikes and motorbikes.
