SetWeather
Sets the weather.
Syntax
void {{#tag:pre|{{Template:CSharp_Serverside_namespace}}.World.SetWeather(string weather);
void {{#tag:pre|{{Template:CSharp_Serverside_namespace}}.World.SetWeather(Weather weather); //Preferred
Required Arguments
- weather: parameter input should be in string or Weather type
Example
C# Syntax
Example
[Command("clrweather", Description = "Clears the weather")]
public void Clear_Weather(Client player)
{
NAPI.World.SetWeather(Weather.CLEAR);
}