|
09-10-2012
|
126
|
|
Banned
Join Date: Apr 2012
Location: Sweden
Posts: 287
|
|
I don't exactly get it since, let's say we have :
temp.var = 5;
player.chat = "Number"SPC (temp.var ? "is correct" : "is false");
I don't see how they can know that it's "if (temp.var == 5)" or not == 4. Is it used for booleans only? (true / false)?
|
In your case, you'd do (temp.var == 5 ? "is correct" : "is false")
|
|
|
|