28.01.2014, 17:09
thank you...
Load crashdetect plugin and compile with debug info. Re-compile your scripts, start the server and let that diaog appear again. In case it prints anything, post the server log.
|
[20:38:16] [debug] Run time error 4: "Array index out of bounds" [20:38:16] [debug] Accessing element at negative index -1 [20:38:16] [debug] AMX backtrace: [20:38:16] [debug] #0 00013c04 in public OnDialogResponse (playerid=0, dialogid=16501, response=1, listitem=-1, inputtext[]=@0x00030988 "") at gamemode.pwn:605
if (0 <= listitem < 25)
{
// you can use listitem in HelpMeListItem with safety here
}
else return // error..