Player.GetJumpPower
From GMod Wiki
Function | |
Syntax | Player:GetJumpPower( ) |
Description: | |
Get the player's "jump power" (how much upwards velocity is added when jumping) | |
Returns: | Number |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetJumpPower]Player.GetJumpPower [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This function will return true if the player is The Hulk. (a.k.a. jump incredibly high) |
---|---|
Used on | |
Code | function IsHulk( player ) return player:GetJumpPower() >= 2000 end |
Output | N/A |