error 033: array must be indexed (variable "Trap") - 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 033: array must be indexed (variable "Trap") (
/showthread.php?tid=584784)
error 033: array must be indexed (variable "Trap") -
suni - 08.08.2015
REMOVED
Re: error 033: array must be indexed (variable "Trap") -
xVIP3Rx - 08.08.2015
How to you declare Trap ?
I.E, show me "new Trap"..
Re: error 033: array must be indexed (variable "Trap") -
SickAttack - 08.08.2015
How is the variable "Trap" declared? It must be declared like this:
It you have any other dimensions on the declaration or if it's a list element, then you must specify so.
Re: error 033: array must be indexed (variable "Trap") -
suni - 08.08.2015
thx I had [MAXPLAYERS] next to it. +rep anyway.