Library★ 2updated Apr 2019No licencePawn
Open on GitHubThis repository has no licence file. It is public to read, but that alone does not give permission to reuse it.
Try it in the Pawn compiler →
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
README.md
Player-Gravity
This include provides two functions to set and get player gravity.
Functions:
SetPlayerGravity(playerid, Float:gravity);
Float:GetPlayerGravity(playerid, &Float:gravity = 0.0);
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 return that new value.
Dependencies:
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing