16.09.2017, 20:29
MAX_PLAYERS is just a macro definition of an int..
Foreach is the definition of a macro defined for() loop (I guess, never looked into its source)
It's the same thing, for() while() etc etc, it's still PAWN, it's still a loop.
No matter what people use, it's the same thing over and over, but how you use it is what's important.
https://sampwiki.blast.hk/wiki/Control_Structures#Loops
Foreach is the definition of a macro defined for() loop (I guess, never looked into its source)
It's the same thing, for() while() etc etc, it's still PAWN, it's still a loop.
No matter what people use, it's the same thing over and over, but how you use it is what's important.
https://sampwiki.blast.hk/wiki/Control_Structures#Loops