Help with foreach
#2

Код:
new Iterator:BVeh<MAX_BUYABLE_VEH>;

Itter_Add(BVeh, vehicleid1);
Itter_Add(BVeh, vehicleid2);
Itter_Add(BVeh, vehicleid3);
Itter_Add(BVeh, vehicleid4);

foreach(BVeh, i) printf("vehicle: %d",i); // this is : for(new i = 1; i < MAX_BUYABLE_VEH; i++)

Itter_Remove(BVeh, vehicleid3);
Reply


Messages In This Thread
Help with foreach - by ajwar - 12.02.2011, 08:21
Re: Help with foreach - by xxmitsu - 12.02.2011, 08:26
Re: Help with foreach - by ajwar - 12.02.2011, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)