ID:158055
 
How do i go about doing this? i tried different ways that got no errors but nothing happened
mob
proc

HUD()
new/obj/HUD/Health_01(src.client)
new/obj/HUD/Mana_01(src.client)
src.Update_Stats()

obj
HUD
Health_01
icon='heart.dmi'
icon_state="0"
New(client/c)
screen_loc="2,1"
c.screen+=src
... is HUD() a new procedure, or are you redefining an old one? Either way I see a major error in your code with one quick glance: proc or indentation.

If HUD() is a new procedure, it needs to be indented under proc, and everything inside HUD also needs to be indented accordingly.

For another, that's not going to do anything unless you call the HUD proc somehow anyway.
For future reference place your tags in the dm tags.
Your problem is your indentation you forgot to tab the rest of your code after the line that says "proc"