06.02.2014, 16:19
Код:
[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);
}
}
}