I'm trying to make clicking a object on the hud actually say something without editting the object on the hud's Click() itsself.
This is what I tried:
client
Click(O)
if(O==typesof(/obj/hud/))
usr<<"haha"
else
..()
I don't understand why it doesn't work, can anyone explain to me? And if possible post the fix?
Thank you for your time! This shouldn't be too big a problem.
<code>if(istype(O,/obj/hud)) usr << "haha"</code>