[HELP]Server Crash - Located crash line with CrashDETECT -
#1

pawn Code:
forward scoretimer();
public scoretimer()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        seconds[i] ++;
        if(seconds[i] == 3600)
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1);
            seconds[i] = 0;
        }
    }
    return 1;
}
Why the above code crashes the server? Can anyone fix the code & also explain me why it crashes?
Reply


Messages In This Thread
[HELP]Server Crash - Located crash line with CrashDETECT - - by Guest4390857394857 - 02.09.2014, 13:04
Re: [HELP]Server Crash - Located crash line with CrashDETECT - - by Marsss - 03.09.2014, 06:50
Re: [HELP]Server Crash - Located crash line with CrashDETECT - - by ALBJ - 03.09.2014, 19:04
AW: [HELP]Server Crash - Located crash line with CrashDETECT - - by Harry :) - 04.09.2014, 22:00
Re: [HELP]Server Crash - Located crash line with CrashDETECT - - by Flake. - 05.09.2014, 04:37

Forum Jump:


Users browsing this thread: 1 Guest(s)