dialog limit
#1

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?
Reply
#2

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

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] ).
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)