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



.... - StackedPizza - 23.05.2016

_removed_


Re: error 032: array index out of bounds (variable "pts") - AdrianG - 23.05.2016

Change new pts[cTp]; with a normal array like new pts[2]; and after use pts[0] instead of your pts[red] and pts[1] instead of pts[blue] and it should work.


Re: error 032: array index out of bounds (variable "pts") - StackedPizza - 24.05.2016

~removed.~