SA-MP Forums Archive
[MAX_OBJECTS] ? - 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: [MAX_OBJECTS] ? (/showthread.php?tid=572425)



[MAX_OBJECTS] ? - aCloudy - 28.04.2015

Is there something like [MAX_PLAYERS] but for objects ?
Example:

PHP Code:
new CollectAB[MAX_OBJECTS];
CollectAB[Tree] = 1
I hope you understood me, Thanks,


Re: [MAX_OBJECTS] ? - (SF)Noobanatior - 28.04.2015

yeah there is its 1000 i belive or you can just define you own too
pawn Code:
@define MAX_SOMETHINGELSE  1234
then you can use your custom one
pawn Code:
new array[MAX_SOMETHINGELSE];