14.08.2010, 16:20
Quote:
@Ryder
pawn Код:
Use instead of While, Loop ![]() TEST DraKoN_S > DraKoN S ¬¬ |
A while and for loop do the same exact thing. Except it's broken up into pieces, if you notice a for loop, you'll see me setting the variables inside the parenthesis. If you notice a while loop, you will see i'm not, but just setting the variable outside and increasing it inside the brackets, just like a for loop does. Example:
pawn Код:
new i;
while(i < MAX_PLAYERS) {
i++;
}
pawn Код:
for(new i; i < MAX_PLAYERS; i++ ) {
}