04.07.2013, 19:47
You do realise foreach can't be used for EVERY loop - only ones that have 'registered' iterators, such as players? You can make your own iterators for any IDs though, but in this case that'd be silly, as it's not a sparse array.