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



foreach - Baltimore - 24.07.2014

Hello

Here I saw ****** made ​​a foreach but it must exchange install 150 files just to use it so no thank you.

Do you know another foreach (equally efficient) that do not require installation like this?

thank you


Re: foreach - nmader - 24.07.2014

Quote:
Originally Posted by Baltimore
Посмотреть сообщение
Hello

Here I saw ****** made ​​a foreach but it must exchange install 150 files just to use it so no thank you.

Do you know another foreach (equally efficient) that do not require installation like this?

thank you
Don't think there's an alternative, ****** made thee foreach (I could be wrong). Just download the files, they're of high quality and quite useful for optimizing your script, so why not, you're not being hurt by them, seeing as they're basically text files?


Re: foreach - Baltimore - 24.07.2014

So if I do not want that installing the foreach I install includes all YSI?


Re: foreach - Ada32 - 24.07.2014

https://sampforum.blast.hk/showthread.php?tid=92679


Re: foreach - Drake1994 - 24.07.2014

https://sampforum.blast.hk/showthread.php?tid=527109


Re: foreach - Baltimore - 24.07.2014

Other?


Re: foreach - Baltimore - 25.07.2014

UP please.


Re: foreach - Threshold - 25.07.2014

Foreach is an include, you only need 1 file to install it
(Foreach.inc)

What are you smoking?


Re: foreach - Baltimore - 25.07.2014

To include the ******, when you want to compile with foreach.inc must also file in the YSI folder, and so in theory install ALL libraries.

I invite you to try and see.


Re: foreach - Stinged - 25.07.2014

What?

Just go and try this...
Add foreach.inc to your includes folder, and in your gamemode/filterscript, add
#include <foreach>