21.01.2013, 12:04
Quote:
|
Hi,Someone got a Weather? the Weather goes to rain and sunny like all that weather stuff.if you do plz post it here.
|

pawn Code:
public OnGameModeInit()
{
SetTimer("WeatherChange", 60 * 1000, true);
return 1;
}
forward WeatherChange();
public WeatherChange()
{
new weather = random(45);
SetWeather(weather);
new str[40];
format(str, sizeof str, "Weather changed to %i.", weather);
SendClientMessageToAll(-1, str);
return 1;
}


