Would this command work?
#3

Don't use || when comparing between 2 values.

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.
Reply


Messages In This Thread
Would this command work? - by Shockey HD - 27.07.2011, 13:34
Re: Would this command work? - by Libra_PL - 27.07.2011, 13:48
Re: Would this command work? - by iPLEOMAX - 27.07.2011, 13:50
Re: Would this command work? - by Burridge - 27.07.2011, 13:50
Re: Would this command work? - by Shockey HD - 27.07.2011, 18:16
Re: Would this command work? - by Calgon - 27.07.2011, 18:33

Forum Jump:


Users browsing this thread: 2 Guest(s)