SetWeather
From SA-MP Wiki
SetWeather
Set the world weather for all players.
(weatherid)
| weatherid | Sets the WeatherID. |
This function does not return a specific value, it's best to simply ignore it.
if(!strcmp(cmdtext, "/sandstorm", true)) { SetWeather(19); return 1; }
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- SetPlayerWeather: Set a player's weather.
- SetGravity: Set the global gravity.
