Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

debug] Run time error 4: "Array index out of bounds"

Статус
В этой теме нельзя размещать новые ответы.

Galiaf

Умник
PHP:
[12:57:02] [debug] Run time error 4: "Array index out of bounds"
[12:57:02] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:02] [debug] AMX backtrace:
[12:57:02] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:06] [debug] Run time error 4: "Array index out of bounds"
[12:57:06] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:06] [debug] AMX backtrace:
[12:57:06] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:10] [debug] Run time error 4: "Array index out of bounds"
[12:57:10] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:10] [debug] AMX backtrace:
[12:57:10] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:14] [debug] Run time error 4: "Array index out of bounds"
[12:57:14] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:14] [debug] AMX backtrace:
[12:57:14] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:18] [debug] Run time error 4: "Array index out of bounds"
[12:57:18] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:18] [debug] AMX backtrace:
[12:57:18] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:22] [debug] Run time error 4: "Array index out of bounds"
[12:57:22] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:22] [debug] AMX backtrace:
[12:57:22] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:26] [debug] Run time error 4: "Array index out of bounds"
[12:57:26] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:26] [debug] AMX backtrace:
[12:57:26] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:30] [debug] Run time error 4: "Array index out of bounds"
[12:57:30] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:30] [debug] AMX backtrace:
[12:57:30] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:34] [debug] Run time error 4: "Array index out of bounds"
[12:57:34] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:34] [debug] AMX backtrace:
[12:57:34] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:39] [debug] Run time error 4: "Array index out of bounds"
[12:57:39] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:39] [debug] AMX backtrace:
[12:57:39] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:43] [debug] Run time error 4: "Array index out of bounds"
[12:57:43] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:43] [debug] AMX backtrace:
[12:57:43] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:47] [debug] Run time error 4: "Array index out of bounds"
[12:57:47] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:47] [debug] AMX backtrace:
[12:57:47] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:51] [debug] Run time error 4: "Array index out of bounds"
[12:57:51] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:51] [debug] AMX backtrace:
[12:57:51] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:55] [debug] Run time error 4: "Array index out of bounds"
[12:57:55] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:55] [debug] AMX backtrace:
[12:57:55] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:57:59] [debug] Run time error 4: "Array index out of bounds"
[12:57:59] [debug]  Accessing element at index 6 past array upper bound 5
[12:57:59] [debug] AMX backtrace:
[12:57:59] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:58:03] [debug] Run time error 4: "Array index out of bounds"
[12:58:03] [debug]  Accessing element at index 6 past array upper bound 5
[12:58:03] [debug] AMX backtrace:
[12:58:03] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
[12:58:07] [debug] Run time error 4: "Array index out of bounds"
[12:58:07] [debug]  Accessing element at index 6 past array upper bound 5
[12:58:07] [debug] AMX backtrace:
[12:58:07] [debug] #0 000e9394 in public UpdateMap () at C:\Users\Adejvat\Desktop\бекап\samp\gamemodes\GOVNO.pwn:15650
Вот паблик в котором ошибка

PHP:
public UpdateMap()
{
    for(new i = 0; i < 22; i++)
    {
        new Float:vehx, Float:vehy, Float:vehz;
        new Float:nvehx, Float:nvehy, Float:nvehz;
        GetVehiclePos(AvtobusCar[i], vehx, vehy, vehz);
        GetMiniMapCoord(vehx,vehy,nvehx,nvehy,nvehz);
        MoveObject(point[i], nvehx, nvehy, nvehz, 0.1, 90.0, 0.0, 0.0);
    }
}
Сама строчка
PHP:
GetVehiclePos(AvtobusCar[i], vehx, vehy, vehz);
Кто подскажет что делать отблагодарю
 
Последнее редактирование модератором:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу