[FilterScript] [FS] AutoMatic Weather
#10

You can use
pawn Код:
stock Choose(_:...) return getarg(random(numargs()));
Example Usage:
pawn Код:
#define MyWeather Choose(2, 5, 6, 7, 8, 9, 12, 20, 22)
stock Choose(_:...) return getarg(random(numargs()));
public OnFilterScriptInit()
{
    SetWeather(MyWeather);
    SetTimer("AutoWeather", 60000, 1);
    return 1;
}
forward AutoWeather();
public AutoWeather() SetWeather(MyWeather);
Reply


Messages In This Thread
[FS] AutoMatic Weather - by forgottenkings - 19.11.2011, 12:11
Re: [FS] AutoMatic Weather - by Be$$0n - 19.11.2011, 13:33
Re: [FS] AutoMatic Weather - by Prumpuz - 19.11.2011, 13:34
Re: [FS] AutoMatic Weather - by BaubaS - 19.11.2011, 13:34
Re: [FS] AutoMatic Weather - by forgottenkings - 19.11.2011, 13:38
Re: [FS] AutoMatic Weather - by YoUnG_KiD - 19.11.2011, 13:45
Re: [FS] AutoMatic Weather - by Astralis - 19.11.2011, 17:14
Re: [FS] AutoMatic Weather - by Reix[EST] - 27.11.2011, 21:25
Re: [FS] AutoMatic Weather - by Basssiiie - 27.11.2011, 21:34
AW: [FS] AutoMatic Weather - by BigETI - 27.11.2011, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)