29.10.2009, 08:42
Quote:
Originally Posted by JoeBullet
Look in Boolean logic for full understanding, but here is all you must know.
Usage in PAWN: Код:
new bool: orange; If you assign to that variable char, float or anything that isn't TRUE or FALSE, compiler will complain... Setting variable to true/false is like anything else: Код:
orange = true; orange = false; Код:
if(orange == true) OR if(orange) if(orange == false) OR if(!orange) |