SetWeather

SetWeather

Description:
Function SetWeather set the world weather for all players.
If TogglePlayerClock is enabled, weather will slowly change over time, instead of changing instantly.


Parameters:
(weatherid)
int weatherid The weather to set.


Return Values:
This function does not return any specific values.


Examples:
if(!strcmp(cmdtext, "/sandstorm", true))
{
    SetWeather(19);
    return 1;
}


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