Random weather
#1

Hi guys,

I want to make a filterscript for a random weather
This is my script:

Код:
#include <a_samp>

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Lancement FS mйteo");
	print("--------------------------------------\n");
    print("Lancement timer mйteo");
    SetTimerEx("message", 1000, false, "is", 1337, "hello!");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}


forward message(second, msg[]);
public message(second, msg[])
{
    SetTimerEx("message", 4000, false, "is", 1337, "hello!");
    // SetTimerEx("message", 3610000, false, "is", 1337, "hello!"); Final
    return 1;
}
But I do not know how to do it
I would have thought something like this:

Код:
new weather[][4] =
{
    // Positions, (X, Y, Z and Facing Angle)
    SetWeather(19),
....
};
But, my pawno crash

Cordially.
Reply


Messages In This Thread
Random weather - by jcvag44800 - 11.02.2012, 19:53
AW: Random weather - by Drebin - 11.02.2012, 20:59
Re: Random weather - by [MG]Dimi - 11.02.2012, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)