Player.SetJumpPower

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:SetJumpPower( Number power )
Description:
Set the player's "jump power" (how much upwards velocity is added when jumping). The default is 200.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetJumpPower]Player.SetJumpPower [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionThis example will make the player jump like The Incredible Hulk.
Used onNewerServer.png
Code
ply:SetJumpPower( 1500 )
 
OutputN/A


Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox