![]() |
Quote:
|
Thanks guys :)
Now I simply want to know, what's the usage of "?"... Like 3 ? 2 = ? Just wanted to learn that as I see it in several scripts. |
Quote:
PHP Code:
PHP Code:
|
another example (just have to put my contribution :P)
PHP Code:
|
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)? |
Quote:
|
Quote:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
hm so let's see what's left to know, anyone got an idea? |
best way is to test around, look at other scripts and so on
|
Oh yes, vecx and vecy please, I didn't get a clue of what they are about. Thanks!
|
If you're up for a spot of reading, Tigairius made an in-depth explanation on vecx and vecy on the official forums. You should check it out.
|
Thanks @ Emera, understood it, but how exactly and where to use it :/
|
If you have a PC account that has had Gold at least once, I highly recommend that you register on those forums with it. The scripting help you can get there is likely to be overwhelmingly more (and arguably better) than here.
|
Quote:
|
Quote:
|
| All times are GMT. The time now is 10:31 AM. |
Powered by vBulletin/Copyright ©2000 - 2025, vBulletin Solutions Inc.