SetGravity

From SA-MP Wiki

Jump to: navigation, search

SetGravity


Set the gravity in the world.


Note: Default gravity is 0.008


Parameters:
(Float:gravity)
Float:gravityThe amount of gravity.
This function does not return a specific value, it's best to simply ignore it.


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

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.