var
obj
hud
Hide
A = new() //Defines the HUD
usr.client.screen += A //Adds the HUD
obj/hud/Hide
icon='Hide.dmi'
screen_loc="1,1"
Click(Hide())
if(usr.it)
return
if(get_dist(src,usr) <= 1&&get_step(src,EAST)==usr.dir)
set src in oview(1)
if(usr.it)
return
else if(usr.frozen)
return
else if(Notplayer==0)
return
else
usr.loc=locate(src.x,src.y,src.z)
usr.layer=4
That is my code for my HUD button but it says that usr.client.screen is an undefined Var. Any Ideas?