Hello, I had looked this forum but i can't found any tutorial / usage. Is there any comprehensive tutorial for iterator??
Like this;
new Iterator:Test<10>;
Iter_Add(Test, 1);
Iter_Add(Test, 2);
Iter_Add(Test, 3);
foreach (new i : Test)?
{
? ?printf("%d", i);
}
https://github.com/karimcambridge/samp-foreach/blob/master/foreach.inc