obj
hud
invis
layer = MOB_LAYER + 1
icon = 'Chars.dmi'
icon_state = "button"
Click()//When clicked
usr.test()
New(client/C)
screen_loc = "2,20"
C.screen+=src
back
icon = 'Chars.dmi'
icon_state = "bbutton"
Click()
usr.test()
New(client/C)
screen_loc = "1,21 to 3,19"
C.screen+=src
client/New()
..()
if(usr.class=="Infiltrator")
new/obj/hud/invis(src)
new/obj/hud/back(src)
Problem description:Well when i choose my class infil the hud won't show up. But if i take out the if(usr.class=="Infiltrator") and choose any class it works...So i wnat it to show up only when the class infil is picked.