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

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

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

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

Помогите

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

Ren_Nakaymi

Новичок
PHP:
[18:48:50] [debug] Run time error 4: "Array index out of bounds"
[18:48:50] [debug]  Attempted to read/write array element at negative index -400
[18:48:50] [debug] AMX backtrace:
[18:48:50] [debug] #0 0056a908 in public UpdateCarInfo (playerid=0, vehicleid=576, ... <1 argument>) at mrp.pwn:36989
[18:53:16] [debug] Run time error 4: "Array index out of bounds"
[18:53:16] [debug]  Attempted to read/write array element at index 50 in array of size 50
[18:53:16] [debug] AMX backtrace:
[18:53:16] [debug] #0 00682dd0 in public mysql_ReportShow (playerid=0) at mrp.pwn:49340
[18:53:54] [debug] Run time error 4: "Array index out of bounds"
[18:53:54] [debug]  Attempted to read/write array element at negative index -400
[18:53:54] [debug] AMX backtrace:
[18:53:54] [debug] #0 0056a908 in public UpdateCarInfo (playerid=0, vehicleid=578, ... <1 argument>) at mrp.pwn:36989
[18:54:26] [debug] Run time error 4: "Array index out of bounds"
[18:54:26] [debug]  Attempted to read/write array element at negative index -400
[18:54:26] [debug] AMX backtrace:
[18:54:26] [debug] #0 0056a908 in public UpdateCarInfo (playerid=0, vehicleid=576, ... <1 argument>) at mrp.pwn:36989
[19:00:41] [debug] Run time error 4: "Array index out of bounds"
[19:00:41] [debug]  Attempted to read/write array element at negative index -400
[19:00:41] [debug] AMX backtrace:
[19:00:41] [debug] #0 0056a908 in public UpdateCarInfo (playerid=0, vehicleid=578, ... <1 argument>) at mrp.pwn:36989
Строки:
PHP:
36989: gVehicles[vehicleid-1][vFuel] -= (veloc/100)*gTransport[GetVehicleModel(vehicleid)-400][trConsumption];
49340: cache_get_value(i, "rText", ReportInfo[i][rText], 350);
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу