open.mp forum
[Server] Run time error 4: "Array index out of bounds" - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] Run time error 4: "Array index out of bounds" (/showthread.php?tid=2382)



Run time error 4: "Array index out of bounds" - mihaiandrey2008 - 2023-04-12

hello, I've been a developer on a new gamemode of mine for a few days and I'm getting this error

[debug] Run time error 4: "Array index out of bounds"
[debug] AMX backtrace:
[debug] #0 00346a94 in OnDialogResponse (playerid=0, dialogid=177, response=1, listitem=0, inputtext[]=@0167cc44 "Owned vehicles", ... <1073741818 arguments>) at D:\SAMP\endless\gamemodes\end.pwn:35756
[debug] #1 0000d038 in public OnDialogResponse (... <5 arguments>) at D:\SAMP\endless\pawno\include\YSI_Coding\..\YSI_Internal\y_cgen.inc:30


https://pastebin.com/XiPnuvxx - line 29