SA-MP Forums Archive
error 032: array index out of bounds - 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: error 032: array index out of bounds (/showthread.php?tid=603938)



error 032: array index out of bounds - Ilai14 - 29.03.2016

error 032: array index out of bounds (variable "CP")
error 032: array index out of bounds (variable "Zone")

Код:
new Zone[2], CP[2];
please help


Re: error 032: array index out of bounds - Mencent - 29.03.2016

Hi!

Can you show us where you use this both arrays?
Well I interpretated the wrong error.
Increase the value of the array (2 => 10 or higher).


Respuesta: error 032: array index out of bounds - xXRevolverXx - 29.03.2016

new Zone[50], CP[50];

or just increase the arrays to be more than the used vars in the commands.