M MY Multiplayer: Wiki
Side
Kind

setPedJumpPower

Client

Sets how strongly a ped jumps.

bool setPedJumpPower(ped ped, float power)

Parameters

NameTypeDescription
pedpedThe ped or player.
powerfloatMultiplier of the jump's height and push. 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

setPedJumpPower(localPlayer, 1.5)

See also