[Crash Detect Errors] Array bounds..
#1

001[05:16:13] [debug] Run time error 4: "Array index out of bounds"
[05:16:13] [debug] Accessing element at index 50 past array upper bound 49
[05:16:13] [debug] AMX backtrace:
[05:16:13] [debug] #0 0007da64 in public TimeConn () from script.amx

code :

pawn Код:
public TimeConn()
{
    for(new i=0;i<=MAX_PLAYERS;i++)
    {
        if(PLAYERLIST_authed[i] && IsPlayerConnected(i))
        {
            if (PlayerInfo[i][bail]!=777)
            {
                PlayerInfo[i][playertime]= dUserINT(PlayerName(i)).("time");
                PlayerInfo[i][playertime] +=200;
                dUserSetINT(PlayerName(i)).("time",PlayerInfo[i][playertime]);
            }
  }
        PlayerTemp[i][ishealing] = 0;
    }
    return 1;
}
Reply


Messages In This Thread
[Crash Detect Errors] Array bounds.. - by AdamCooper - 18.07.2013, 01:21
Re: [Crash Detect Errors] Array bounds.. - by MP2 - 18.07.2013, 01:22
Re: [Crash Detect Errors] Array bounds.. - by AdamCooper - 18.07.2013, 02:35
Re: [Crash Detect Errors] Array bounds.. - by AdamCooper - 18.07.2013, 02:38
Re: [Crash Detect Errors] Array bounds.. - by [HiC]TheKiller - 18.07.2013, 05:29
Re: [Crash Detect Errors] Array bounds.. - by AdamCooper - 18.07.2013, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)