What do you call
#1

What do you call a small 'thing'... I can't really explain it, and I can't remember the name...
I've known it for years...
A small thing that you write a condition, and it returns true (if you want it to return so) or returns false

I remember that slice wrote it in a tutorial of his...
Reply
#2

a boolean?
Reply
#3

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
a boolean?
Nope...
It's somekind of function... with weired name >.<
Reply
#4

a ternary operator?
pawn Код:
new bool:firecat = false;

print(firecat ? ("Firecat is true!") : ("Firecat is false!"));
Reply
#5

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
a ternary operator?
pawn Код:
new bool:firecat = false;

print(firecat ? ("Firecat is true!") : ("Firecat is false!"));
YEEESS! Thanks! +rep
Reply
#6

EDIT: I didn't refresh the page, you already got your answer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)