SA-MP Forums Archive
invalid array size (need help) - 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: invalid array size (need help) (/showthread.php?tid=430325)



invalid array size (need help) - ahmad95 - 13.04.2013

Settled!


Re: invalid array size (need help) - horsemeat - 13.04.2013

after #define Posizione make sure you put the array size


Re: invalid array size (need help) - ahmad95 - 13.04.2013

i didn't get what u mean?


Re: invalid array size (need help) - Vince - 13.04.2013

Remove that stupid definition and move the global variables so that the enum is declared first.


Re: invalid array size (need help) - BlackBank - 13.04.2013

There is no need to define 'Posizione' with #define.
The enum already does it for you, so remove the '#define Posizione' line.