SetWeather

From SA-MP Wiki

Jump to: navigation, search

SetWeather


Set the world weather for all players.


Parameters:
(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.

Personal tools