Random weather
#5

Or...

pawn Код:
public OnGameModeInit() //Or OnFilterScriptInit for filterscripts
{
    SetTimer("WeatherChange", 3600000, true);
    return 1;
}

forward WeatherChange();
public WeatherChange()
{
    new rand = random(45);
    SetWeather(rand);
    return 1;
}
Simple.
Reply


Messages In This Thread
Random weather - by Zeyo - 20.09.2012, 13:51
Re: Random weather - by doreto - 20.09.2012, 13:54
Re: Random weather - by denNorske - 20.09.2012, 13:55
Re: Random weather - by TaLhA XIV - 20.09.2012, 14:05
Re: Random weather - by clarencecuzz - 20.09.2012, 14:25
Re: Random weather - by Zeyo - 20.09.2012, 16:47
Re: Random weather - by Zeyo - 22.09.2012, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)