Correct this works. can set to anything but just cant figure out why seting the value the command is setting does not work.
private IEnumerator RunWeatherEnd()
{
foreach (var target in plugin.AlarmSound.ToList())
{
if (target.Value != null) target.Value.Kill();
plugin.AlarmSound.Remove(target.Key);
}
while (Fog > 0.2f || Clouds > 0.2f)
{
if (Clouds > 0.03f) Clouds = Clouds - 0.01f;
if (Fog > 0.01f) Fog = Fog - 0.02f;
if (Wind > 0.01f) Wind = Wind - 0.02f;
if (Brightness < 1) Brightness = Brightness + 0.01f;
ConsoleSystem.Run(noput, "weather.cloud_coverage " + Clouds, null);
ConsoleSystem.Run(noput, "weather.wind " + Wind, null);
ConsoleSystem.Run(noput, "weather.fog " + Fog, null);
ConsoleSystem.Run(noput, "weather.rain -1", null);
ConsoleSystem.Run(noput, "atmosphere_brightness " + Brightness, null);
ConsoleSystem.Run(noput, "thunder -1", null);
yield return new WaitForSeconds(1.5f);
}