SA-MP Forums Archive
undefined - 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: undefined (/showthread.php?tid=592880)



undefined - itachi - 30.10.2015

Код:
new bool:useCell[MAX_CELLS*2+numNPC];
Quote:

error 017: undefined symbol "numNPC"




Re: undefined - feartonyb - 30.10.2015

You didn't define variable numNPC


Re: undefined - Macluawn - 30.10.2015

That wont work, because array sizes are determined at compile time, not runtime. numNPC must be a constant.