Filterscript Timers crashing the server
#1

Well, for some reason when I add a timer to a filterscript it crashes the server when the filterscript is being unloaded.

So if I for example

pawn Код:
Timer[playerid] = SetTimerEx("CoolDown", 1000, false, "i", playerid);
It still crashes the server even if I kill it OnFilterScriptExit, can't seem the cause.

pawn Код:
public OnFilterScriptExit()
{
    for(new i = 0; i < 32; i++)
    {
          KillTimer(Timer[i]);
    }
    return 1;
}
Anyone experienced this issue before?
Reply


Messages In This Thread
Filterscript Timers crashing the server - by Elorreli - 31.05.2012, 21:59
Re: Filterscript Timers crashing the server - by ViniBorn - 31.05.2012, 22:28
Re: Filterscript Timers crashing the server - by Elorreli - 31.05.2012, 22:31
Re: Filterscript Timers crashing the server - by ViniBorn - 31.05.2012, 22:35
Re: Filterscript Timers crashing the server - by ikey07 - 01.06.2012, 00:30

Forum Jump:


Users browsing this thread: 1 Guest(s)