SA-MP Forums Archive
I'm right ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I'm right ? (/showthread.php?tid=82716)



I'm right ? - UsaBoy91 - 20.06.2009

all numbers ≥ 1 & ≤ -1 are true ?

and 0 is false ?


Re: I'm right ? - Donny_k - 20.06.2009

Sort of, it depends what type of variable you are using.

Boolean:

False = 0
True = 1

Integer:

False = 0
True = anything not false