07.03.2018, 02:26
Is SA-MP foreach the same as .NET in the sense that if you wanted index looping, you'd opt for for() rather than foreach()? edit// i'm just wondering if foreach in sa-mp has add, remove and edit powers.
But anyways, I'd use foreach() if you wanted to loop through a collection of items where you don't care for the index. At least that's how it's conventionally used, right?
But anyways, I'd use foreach() if you wanted to loop through a collection of items where you don't care for the index. At least that's how it's conventionally used, right?