SetGravity

From SA-MP Wiki

Jump to: navigation, search


Set the gravity for all players.


Parameters:
(Float:gravity)
Float:gravityThe value that the gravity should be set to.


ReturnsThis function doesn't return a specific value


Image:32px-Ambox_warning_orange.png Note: Default gravity is 0.008


//set moon-like gravity
SetGravity(0.004);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
In other languages