SetGravity
From SA-MP Wiki
SetGravity
Set the gravity in the world.
Note: Default gravity is 0.008
(Float:gravity)
| Float:gravity | The amount of gravity. |
This function does not return a specific value.
//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.
- SetWeather: Set the global weather.
