29.09.2016, 05:14
(
Последний раз редактировалось DTV; 29.09.2016 в 08:50.
)
I'm starting to learn how to use y_iterate and was wondering if when creating an iterator, is it possible to assign it a max value and have it loop through every value rather than having to manually add every value it can go through? I'm not sure how to word it, but it would look something like this if you don't understand.
The output would look something like this:
pawn Код:
new Iterator:MyIter<MAX_PLAYERS>;
foreach(new i : MyIter)
{
printf("%d",i);
}
Код:
0 1 2 ... 999