How would I go on, making a hud which is linked to a timer?
More specificly; I have a SEnt, which is a bulletproof vest and it reduces the damage by 50%
and I would like it, so that when ENT.Use is triggered, a Bar comes up, either centered or in a corner, with the text “Equipping…” and the current percentage of the… uhm… done…ness?
(I’m danish, and I cant think straight right now, lol)
It would take 5 seconds for the player to equip it and also emit a sound*.
(Forgot to add “Equipping…” so;…)
(*Ent.EmitSound (“LAWLS.wav”) right?)
If anyone could, not just point me in direction, but follow me down along the path, of such a creation, that would just be neat-o!
If you’re thinking: “I will just make the whole thing for him, then he’ll be happy! :D”, then you’re kind of wrong.
As much as I want the script, I would like to learn, as my Lua coding abilities are limited.
and Please, dont just post a link “gut lock has fon” and leave, cause I’ve never done a HUD before, but THAT’s just at the wiki, right? Anyways, any help - well, almost any help is appreciated!
Thanks in advance!