[Iterator] Is there a way to add a value which is more than the iter's size?
#3

Quote:
Originally Posted by iSpark
Посмотреть сообщение
Код:
new Iterator:tots<5>;

Iter_Add(tots, 1);
Iter_Add(tots, 4);
Iter_Add(tots, 6);

foreach(new i: tots)
	printf("%d", i);
Output
Код:
1
4
I need it such that I can add values outside of its size.
I think you have a wrong concept of how iterators works, you should read any tutorial
https://sampforum.blast.hk/showthread.php?tid=571159
Reply


Messages In This Thread
[Iterator] Is there a way to add a value which is more than the iter's size? - by iSpark - 02.07.2018, 21:12
Re: [Iterator] Is there a way to add a value which is more than the iter's size? - by iSpark - 02.07.2018, 21:15
Re: [Iterator] Is there a way to add a value which is more than the iter's size? - by Gr00t - 02.07.2018, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)