getPedCyclePower
Client
Gets how hard a ped pedals a bicycle.
float|false getPedCyclePower(ped ped)
Parameters
| Name | Type | Description |
|---|---|---|
| ped | ped | The ped or player. |
Returns
The pedalling multiplier (the default is 1), or false if the ped does not exist in the game.
Example
print("Cycle power: " .. getPedCyclePower(localPlayer))