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



&& and ||. - sampplayer - 14.06.2009

A quick question, || means 'OR' and && means 'AND', I'm I correct?


Re: && and ||. - Sfinx_17 - 14.06.2009

yes you are saying corectly as i know about that symbols


Re: && and ||. - HuRRiCaNe - 14.06.2009

yeah the || can be used for making multiple commands with one function



Re: && and ||. - Correlli - 14.06.2009

Quote:
Originally Posted by BiG_Sm0k3
yeah the || can be used for making multiple commands with one function
It can be used for much things, not just commands.


Re: && and ||. - sampplayer - 14.06.2009

That's all I need to know, thanks.