foreach question.
#2

Ahh, I get it now.

Thank you very much!


But let's say I want to loop through all the vehicles on the server, how would I do that?

Код:
new Iterator:Vehicles<MAX_VEHICLES>;
foreach (new i : Vehicles)
{
    printf("%d", i);
}
would that work?
Reply


Messages In This Thread
foreach question. - by Shetch - 19.08.2012, 14:15
Re: foreach question. - by Shetch - 19.08.2012, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)