27.07.2011, 13:50
Don't use || when comparing between 2 values.
Use it like this:
Use it like this:
pawn Код:
if (viplvl <= 3 && viplvl >= 0) //Correct.
//Less than or equal to 3 and bigger than or equal to 0.
if (viplvl < 3 || viplvl > 0) //Wrong.
//It means less than 3 OR more than 0. So, if you enter 151515 it IS bigger than 3 and it will continue.