Code not working correctly?
#8

This is never true:

pawn Код:
if (iNumber <= 12 && iNumber >= 100)
It would be true if iNumber was smaller than 13 AND bigger than 99 at the same time. Instead of &&, use ||

Btw, it's "an age"
Reply


Messages In This Thread
Code not working correctly? - by iLcke - 26.09.2012, 09:02
Re: Code not working correctly? - by MarTaTa - 26.09.2012, 09:04
Re: Code not working correctly? - by iLcke - 26.09.2012, 09:06
Re: Code not working correctly? - by RedJohn - 26.09.2012, 09:07
Re: Code not working correctly? - by iLcke - 26.09.2012, 09:09
Re: Code not working correctly? - by RedJohn - 26.09.2012, 09:10
Re: Code not working correctly? - by iLcke - 26.09.2012, 09:12
Re: Code not working correctly? - by Rimeau - 26.09.2012, 09:12
Re: Code not working correctly? - by RedJohn - 26.09.2012, 09:13
Re: Code not working correctly? - by MarTaTa - 26.09.2012, 09:14

Forum Jump:


Users browsing this thread: 1 Guest(s)