31.07.2012, 12:17
Which way is more efficient?
OR
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
// code goes here
}
}
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++) {
if(!IsPlayerConnected(i)) continue;
// code goes here
}