PDA

Просмотр полной версии : [Вопрос] CrashDetect ошибка



Killer
25.01.2018, 22:43
[21:39:57] [debug] Run time error 4: "Array index out of bounds"
[21:39:57] [debug] Attempted to read/write array element at index 35 in array of size 35
[21:39:57] [debug] AMX backtrace:
[21:39:57] [debug] #0 004940fc in OpenInventory (playerid=0) at C:\Users\Андрей\Desktop\test\gamemodes\T-M.pwn:42386
[21:39:57] [debug] #1 0032c4e4 in public cmd_test (playerid=0, ... <1 argument>) at C:\Users\Андрей\Desktop\test\gamemodes\T-M.pwn:24133
[21:39:57] [debug] #2 native CallLocalFunction () from samp-server.exe
[21:39:57] [debug] #3 0000c090 in public OnPlayerCommandText (playerid=0, cmdtext[]=@00988dbc "/test") at C:\Users\Андрей\Desktop\test\pawno\include\zcmd.inc:102



42386:

if(pInfo[playerid][pInvSlot][i] == 0) PlayerTextDrawSetPreviewModel(playerid,inv_SlotsPTD[playerid][i + 1], 19461),PlayerTextDrawSetPreviewRot(playerid, inv_SlotsPTD[playerid][i + 1], 0.000000, 0.000000, 0.000000, 88.000000);

24133:

OpenInventory(playerid);

В чем проблема?

$continue$
26.01.2018, 04:00
Просто оставлю здесь. (http://pro-pawn.ru/showthread.php?12957-%D0%9A%D0%B0%D0%BA-%D0%B1%D0%BE%D1%80%D0%BE%D1%82%D1%8C%D1%81%D1%8F-%D1%81-%D0%B2%D1%8B%D1%85%D0%BE%D0%B4%D0%B0%D0%BC%D0%B8-%D0%B7%D0%B0-%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D1%8B-%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0-%28CrashDetect%29&highlight=%D0%B2%D1%8B%D1%85%D0%BE%D0%B4+%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D1%8B+%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0)