SA-MP Forums Archive
Foreach 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Foreach help (/showthread.php?tid=191800)



Foreach help - TheArcher - 20.11.2010

what is this code: FOREACH_NO_BOTS it disable NPC's


Re: Foreach help - Nero_3D - 20.11.2010

From the notes

Compile options:
FOREACH_NO_BOTS - Remove the bot iterators for smaller code.
FOREACH_NO_PLAYERS - Remove all default code for player itteration.

Just add FOREACH_NO_BOTS if you dont have bots on your server or dont need a loop for them


Re: Foreach help - TheArcher - 20.11.2010

Thanks again