09.09.2013, 14:08
foreach is faster as it loops through the online player count only.
The default loop will loop through MAX_PLAYERS, regardless of how many players are online, meaning excess looping.
So, due to this fact may I suggest you use foreach.
The default loop will loop through MAX_PLAYERS, regardless of how many players are online, meaning excess looping.
So, due to this fact may I suggest you use foreach.