12.03.2012, 19:43
Quote:
Actually you mean your code would be?
pawn Код:
|
case 274..279: return true;
It wont take as much space and will be more efficient
P.S.
What 274..279 means is 274-279. It checks 274, 275, 276, etc.
0..100 would be 0 to 100
default: is basically an else statement. if it isn't any of the cases, it will do the default action which is return false;