if (istype(O, /mob/pc))
ID:171507
Sep 13 2004, 1:23 pm
|
|
I was looking at the tutorials and i saw this..
|
In response to Wanabe
|
|
Wanabe wrote:
Of course the space doesn't matter. The space makes it look pretty. :) Whitespace for all! Miniature american flags for others! |
In response to Jon88
|
|
Jon88 wrote:
Wanabe wrote: Well yes, I geuss so. Personal preference :-D. |
if (istype(O, /mob/pc))
Of course the space doesn't matter. And you are wrong, if checks if whatever that's defined as O is a mob/pc, so only that mob type will have whatever happens under the if statment.