From SA-MP Wiki
Set the gravity for all players.
|Float:gravity||The value that the gravity should be set to.|
|Returns||This function doesn't return a specific value|
//set moon-like gravity SetGravity(0.004);
The following functions may be useful, as they are related to this function in one way or another.
- GetGravity: Get the currently set gravity.
- SetWeather: Set the global weather.
- SetWorldTime: Set the global server time.