[Help] Foreach
#1

What is better to use and why ?

1.
Код:
for (new i = 0; i < MAX_PLAYERS; i++)
2.
Код:
foreach (new i : Player)
Reply
#2

pawn Код:
foreach (new i : Player)
is better
Reply
#3

Foreach is better, because it loops through only connected players automatically.
Reply
#4

Foreach, because it is fast and it loops through only connected players.
Reply
#5

Thank you tell me where I can still download the latest version ?
Reply
#6

Thank you can lock
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)