Player Gravity
A simple include that provides two functions for player gravity, one to set and another one to get. Functions
DependenciesBoth functions will return 0 if the player id is not connected, otherwise 1.PHP Code:
SetPlayerGravity(playerid, Float:gravity)
GetPlayerGravity(playerid, &Float:gravity)
If the gravity is set by the server through rcon or SetGravity, GetPlayerGravity will return that new value.
- Pawn.RakNet: http://forum.sa-mp.com/showthread.php?t=640306 Download
- Github