Skip to content

Romz24/samp-gravity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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:

Pawn.RakNet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages