Operator for "OR"?
#1

I'm trying to do this:

pawn Код:
if(Open == 1 (OR) Admin >= 1)
{
//blah
}
How would I do that? Is there something like a boolean operator for it, or?
Reply
#2

Two Lines || is or
Reply
#3

Wow, I'm dumb haha. Thank ya.
Reply
#4

Anytime.
Reply
#5

pawn Код:
#define (OR) ||
Reply
#6

Quote:
Originally Posted by EvgeN 1137
Посмотреть сообщение
pawn Код:
#define (OR) ||
No.

only noobs do that.
Reply
#7

Dude gtfo, I still do that to my scripts.
Reply
#8

Quote:
Originally Posted by jamesbond007
Посмотреть сообщение
No.

only noobs do that.
What's it matter? It's still the same thing, and if it helps you understand it more; why not?
Reply
#9

What you mean you still do it in your scripts?
Reply
#10

Quote:
Originally Posted by jamesbond007
Посмотреть сообщение
No.

only noobs do that.
Only noobs call people noobs. Apple doesn't fall far from the tree my friend.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)