30.10.2013, 17:08
How structure works
However, like the people above said, you don't need to do this.
pawn Код:
if(test == 0) { test=2; } //if this isnt called
else if(test == 2) {} //this is - however, even if we set the test var to 2, this wont be called if the first if is
else {} //if above isnt called, this is
if(test == 2) {} //after that check above, this block comes next
else { test=2;} //if above isn't true, this is called (which it is, so this wont be called)