SA-MP Forums Archive
ayudita :3 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: ayudita :3 (/showthread.php?tid=493016)



ayudita :3 - acaandoyoredrogui - 06.02.2014

Код:
[12:59:41] [debug] Run time error 4: "Array index out of bounds"
[12:59:41] [debug]   Accessing element at index 65535 past array upper bound 2443441
[12:59:41] [debug] Backtrace (most recent call first):
pawn Код:
if(CellTime[i] > 0)
            {
                if (CellTime[i] == cchargetime)
                {
                    CellTime[i] = 1;
                    if(Mobile[Mobile[i]] == i)
                    {
                        CallCost[i] = CallCost[i]+callcost;
                    }
                }
                CellTime[i]++;
                if (Mobile[Mobile[i]] == INVALID_PLAYER_ID && CellTime[i] == 5) //Linea de error
                {
                    if(IsPlayerConnected(Mobile[i]))
                    {
                        format(string, sizeof(string), "* Esta sonado el telefono de %s suena", PlayerName(Mobile[i]));
                        ProxDetector(30.0, Mobile[i], string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    }
                }
            }



Respuesta: ayudita :3 - DesingMyCry - 07.02.2014

Muestra el bucle.