[Include] Player Gravity
#1

• Player Gravity
A simple include that provides two functions for player gravity, one to set and another one to get.
• Functions
PHP код:
SetPlayerGravity(playeridFloat:gravity)
GetPlayerGravity(playerid, &Float:gravity
Both functions will return 0 if the player id is not connected, otherwise 1.

If the gravity is set by the server through rcon or SetGravity, GetPlayerGravity will give that new value.
• Dependencies
- Pawn.RakNet: https://sampforum.blast.hk/showthread.php?tid=640306
• Download
- Github
Reply


Messages In This Thread
Player Gravity - by Jelly23 - 10.01.2018, 17:54
Re: Player Gravity - by Logic_ - 10.01.2018, 17:55
Re: Player Gravity - by RogueDrifter - 10.01.2018, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)