[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
#2

Amazing. RakNet replacing a lot of YSF features.
Reply
#3

Good job!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)