Felar.Exe
Компетентный
Не понимаю, почему ругается Crashdetect, раньше он молчал.
Строчка: 33890:
Строчка: 39957:
В чем может быть проблема, подскажите, пожалуйста
Код:
[14:53:41] [debug] Run time error 4: "Array index out of bounds"
[14:53:41] [debug] Attempted to read/write array element at index 3345900 in array of size 500
[14:53:41] [debug] AMX backtrace:
[14:53:41] [debug] #0 004f0f3c in ?? (... <1295311 arguments>) at C:\Users\e\Desktop\tests\gamemodes\t.pwn:33890
[14:53:41] [debug] #1 0086662c in public Itter_OnPlayerConnect () at C:\Users\e\Desktop\tests\gamemodes\t.pwn:39957
[14:53:41] [debug] #2 native CallLocalFunction () from samp-server.exe
[14:53:41] [debug] #3 0000acf8 in public SSCANF_OnPlayerConnect (playerid=0) at C:\Users\e\Desktop\tests\pawno\include\foreach.inc:603
[14:53:41] [debug] #4 00000ca8 in public OnPlayerConnect (playerid=0) at C:\Users\e\Desktop\tests\pawno\include\sscanf2.inc:236
Код:
RegSkin[playerid][0] = CreatePlayerTextDraw(playerid, 622.790771, 311.249938, "usebox");
Код:
stock ListSel(playerid)
{
new string[1500];
for(new i = 1; i < 31; i++)
{
if(SelInfo[GetPVarInt(playerid,"dedast1")][pSel][i] >= 0)
{
format(string, sizeof(string), "%s%i. test[%s{FFFFFF}]\n", string, i, (SelInfo[GetPVarInt(playerid,"dedast")][pSel][i] == 1) ? ("{CD5C5C}No") : ("{32CD32}ok"));
ShowPlayerDialog(playerid, 598, DIALOG_STYLE_LIST, " ", string, "Âûáðàòü", "Çàêðûòü"); ( 39957 строчка эта )
}
}
}
