20.10.2010, 21:52
I forgot how to use new...
here's the code
here's the code
Код:
new flares;
forward flaretimer();
public OnFilterScriptInit()
{
...
...
...
flares = CreateObject(354,2050,1538,28,0,0,0), CreateObject(354,2056,1541,30,0,0,0), CreateObject(354,2056,1530,35,0,0,0), CreateObject(354,2049,1529,38,0,0,0);//Here... This function.
SetTimer("flaretimer",10000,true);
return 1;
}
public flaretimer()
{
DestroyObject(flares);
flares; // Here is the problem, i want to use that "Flares" Somehow, to re-create the 4 flares..
}

