Entity.GetGravity
From GMod Wiki
| Function | |
| Syntax | Entity:GetGravity( ) |
| Description: | |
| Gets the players gravity in float(ex. if sv_gravity is 600 and ply:GetGravity is 0.5, then the gravity for the player, is 300) | |
| Returns: | Float |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetGravity]Entity.GetGravity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Also works on Player.