Всем привет
лог crashdetect
PHP код:
[19:51:33] [debug] Run time error 4: "Array index out of bounds"
[19:51:33] [debug] Accessing element at index 49 past array upper bound 48
[19:51:33] [debug] AMX backtrace:
[19:51:33] [debug] #0 0003d904 in LoadTextDraws (playerid=0) at E:\[1]\gamemodes\vp.pwn:6912
[19:51:33] [debug] #1 00048060 in public Itter_OnPlayerConnect (playerid=0) at E:\[1]\gamemodes\vp.pwn:7408
[19:51:33] [debug] #2 0000852c in public SSCANF_OnPlayerConnect (playerid=0) at E:\[1]\pawno\include\YSI\y_iterate.inc:646
[19:51:33] [debug] #3 00000e14 in public OnPlayerConnect (playerid=0) at E:\[1]\pawno\include\sscanf2.inc:236
[19:53:00] [save] Vasya_Pupkin the server (10.11.12.13)
[19:53:00] [debug] Run time error 4: "Array index out of bounds"
[19:53:00] [debug] Accessing element at index 5 past array upper bound 4
[19:53:00] [debug] AMX backtrace:
[19:53:00] [debug] #0 00133c20 in public Itter_OnPlayerDisconnect (playerid=0, reason=1) at E:\[1]\gamemodes\vp.pwn:21342
[19:53:00] [debug] #1 00008f8c in public SSCANF_OnPlayerDisconnect (playerid=0, reason=1) at E:\[1]\pawno\include\YSI\y_iterate.inc:909
[19:53:00] [debug] #2 00000e60 in public OnPlayerDisconnect (playerid=0, reason=1) at E:\[1]\pawno\include\sscanf2.inc:260
[19:53:00] [part] Vasya_Pupkin has left the server (0:1)
Строка номер 7408
Находится в public OnPlayerConnect(playerid)
жалуется на это
и
Строка номер 6912
жалуется на это
PHP код:
PlayerTextDrawLetterSize(playerid, Inventory[i][playerid], 0.509998, 1.000000);
А остальное в инклудах инклуды взяты с офф сайта
как исправить . . .