Skip to main content

SetWeather

Sets the weather.

{{#tag:pre|void World.SetWeather(Weather weather);}}

  • weather: parameter input should be in string or Weather type

{{#tag:syntaxhighlight| [Command("clrweather", Description = "Clears the weather")] public void Clear_Weather(Client player) {

   ``World.SetWeather(Weather.CLEAR);

}

|lang=csharp}} }}