Quote:
Originally Posted by pds2k12
I don't really get what you mean but I'll show you the stuff I understand from your explanation
pawn Код:
new map = 0; if(map == 1) { //increase the variable by 1 map ++; } //and so on if(map == 20) { //reset the variable map = 0; }
|
This code will only set the map to 1. The if statement will never run since you have no check if the map == 1. What if the map == 2?