SA-MP Forums Archive
Booleans - 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: Booleans (/showthread.php?tid=164191)



Booleans - Killer#Mummy - 30.07.2010

Hello!

If I set one variable (marked as boolean) to '1', can I then check it with true or false or I must use '1' and '0'?


Re: Booleans - Vince - 30.07.2010

Booleans are meant to be used as true and false, so yes, you can.