[Question] What does this || mean? - 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: [Question] What does this || mean? (
/showthread.php?tid=253918)
[Question] What does this || mean? -
Type-R - 08.05.2011
Hi i created this line:
Код:
if(dini_Float(zaidejofailas, "afkX") == x || dini_Float(zaidejofailas, "afkY") == y || dini_Float(zaidejofailas, "afkZ") == z)
And i don't know what || means. I want it to mean and if it doesn't mean that, than what symbol would mean and?
Re: [Question] What does this || mean? -
coole210 - 08.05.2011
|| Means "OR"
&& Means "AND"
Re: [Question] What does this || mean? -
xRyder - 08.05.2011
|| means OR.
Re: [Question] What does this || mean? -
Type-R - 08.05.2011
Thank you!!