[Tutorial] y_iterate (foreach 3.0)
#21

Quote:
Originally Posted by vannesenn
View Post
I can't find any tutorial how to include/add/put vehicle ids into iterate.
pawn Code:
new Iterator:vehicles<MAX_VEHICLES>;

Iter_Add(vehicles, a_vehicle_id_here);
and to see if 'a_vehicle_id_here' is in 'vehicles'

pawn Code:
if(Iter_Contains(vehicles, a_vehicle_id_here))
It's really simple, and just as simple in ArrayList
Reply


Messages In This Thread
y_iterate (foreach 3.0) - by Misiur - 16.04.2015, 18:18
Re: y_iterate (foreach 3.0) - by hamzajaved780 - 17.04.2015, 09:18
Re: y_iterate (foreach 3.0) - by Konstantinos - 17.04.2015, 09:22
Re: y_iterate (foreach 3.0) - by RaeF - 12.05.2015, 07:45
Re: y_iterate (foreach 3.0) - by Emmet_ - 12.05.2015, 08:45
Re: y_iterate (foreach 3.0) - by RaeF - 12.05.2015, 09:21
Re: y_iterate (foreach 3.0) - by Konstantinos - 12.05.2015, 12:41
Re: y_iterate (foreach 3.0) - by Psymetrix - 12.05.2015, 20:45
Re: y_iterate (foreach 3.0) - by Konstantinos - 12.05.2015, 20:51
Re: y_iterate (foreach 3.0) - by Psymetrix - 12.05.2015, 20:57
Re: y_iterate (foreach 3.0) - by Crayder - 17.07.2015, 10:28
Re: y_iterate (foreach 3.0) - by IstuntmanI - 21.08.2015, 16:44
Re: y_iterate (foreach 3.0) - by Crayder - 21.08.2015, 20:23
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 12:54
Re: y_iterate (foreach 3.0) - by Konstantinos - 04.06.2016, 13:02
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 13:18
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 17:37
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 19:15
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 20:02
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 21:18
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 21:48
Re: y_iterate (foreach 3.0) - by PrivateUserName - 08.07.2016, 09:52
Re: y_iterate (foreach 3.0) - by NewFreeroamStunt - 07.09.2017, 10:18
Re: y_iterate (foreach 3.0) - by raydx - 07.09.2017, 10:31
Re: y_iterate (foreach 3.0) - by Misiur - 07.09.2017, 10:44
Re: y_iterate (foreach 3.0) - by wallee - 19.09.2017, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)