Y_iterate +REP
#1

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.
Reply
#2

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?
Reply
#3

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);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)