DEBUG - 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: DEBUG (
/showthread.php?tid=608907)
DEBUG -
Pearson - 06.06.2016
HELP
Re: DEBUG -
Stinged - 06.06.2016
Here's a simple explanation of what "Array index out of bounds" means:
PHP код:
new array[5];
// You can only use these:
// array[0], array[1], array[2], array[3], array[4]
// If you try to use array[5] or array[5345] etc, you'll get that error.
It seems that that's happening in your LoadMode() function.
Re: DEBUG -
Pearson - 06.06.2016
in my gamemode i dont use array, this can be in includes?
Re: DEBUG -
Pearson - 06.06.2016
HELP me PLEASE
Re: DEBUG -
Sithis - 06.06.2016
Stop screaming and show us LoadMode( ).
Re: DEBUG -
Konstantinos - 06.06.2016
Or better yet, create a pawn.cfg file into pawno folder and write
-d3 in it. Re-compile new.pwn and start the server. When you get the logs again, it will be more detailed. Post them here.
Just for your information, it's a function inside LoadMode function and there is most likely a loop in it which goes until the iterator variable is
<= when it should have been
<