SA-MP Forums Archive
dialog limit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dialog limit (/showthread.php?tid=315240)



dialog limit - speed258 - 02.02.2012

how to increase dialog limit in crash detector write this: [19:54:03]: Additional information:
[19:54:03]: Array max index is 79 but accessing an element at -1
[19:54:13]: Script[gamemodes\Gold-Life.amx]: During execution of OnDialogResponse():
[19:54:13]: Script[gamemodes\Gold-Life.amx]: Run time error 4: "Array index out of bounds" or: [20:02:03]: Script[gamemodes\Gold-Life.amx]: During execution of OnDialogResponse():
[20:02:03]: Script[gamemodes\Gold-Life.amx]: Run time error 4: "Array index out of bounds" but some dialogs show somes not what i should do?


Re: dialog limit - lamarr007 - 02.02.2012

You have too much dialog (10k) ?
You must choose between 0-9999 ID.


Re: dialog limit - Babul - 02.02.2012

the -1 causes stress
if you try to
pawn Code:
new Cell=-1;
new error=Array[Cell];
thats basically a
pawn Code:
new error=Array[-1];
not possible. you need to track the value of the cell down (which gets used as pointer into the array [cell -1] ).


Re: dialog limit - speed258 - 02.02.2012

maybe this error can resolve the problem: You must choose between 0-9999 ID. Thanks.