getPedJumpPower
Client
Gets how strongly a ped jumps.
float|false getPedJumpPower(ped ped)
Parameters
| Name | Type | Description |
|---|---|---|
| ped | ped | The ped or player. |
Returns
The jump multiplier (the default is 1), or false if the ped does not exist in the game.
Example
local power = getPedJumpPower(localPlayer)
setPedJumpPower(localPlayer, power * 2)