Y_iterate +REP - 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: Y_iterate +REP (
/showthread.php?tid=574855)
Y_iterate +REP -
Snoopythekill - 21.05.2015
Hello, there are not many tutorials about foreach/y_iterate, someone would be so kind as to give me an example with a code ?
I will give reputation to all helpers in this, try to understand foreach
.
Reputation to which I say to for that serves each function of foreach, note: I don't want to links to other publications.
Re: Y_iterate +REP -
[KHK]Khalid - 21.05.2015
There are tutorials..
https://sampforum.blast.hk/showthread.php?tid=571159
https://sampforum.blast.hk/showthread.php?tid=570937
What do you need help with anyway? What are you trying to achieve with y_iterate?
Respuesta: Y_iterate +REP -
Snoopythekill - 21.05.2015
Review these links & I do not understand much in them, for example..
How do I make an iteration loop as the native ?, for example, using foreach iterator with a declared and send print in each iteration, i understand something like this:
Код:
new Iterator:test<50>;
foreach(new i: test)
{
printf("%d", i);
}