24.12.2009, 14:48
lets make it clear
false = bool:0
true = bool:1
messed up the logically true with the boolean true, sorry guys
false = bool:0
true = bool:1
pawn Код:
if(var == true) {} //non-boolean == boolean == tag mistake
if(var) //if var == logically true (var != 0) (checked this again, dice was right)
if(!(var)) //if var == logically false (var == 0)