• HUD Animation
    1 replies, posted
So im looking for something similar to this: [Code]Health = math.min(100, (Health == localplayer:Health() and Health) or Lerp(0.1, Health, localplayer:Health())) local DrawHealth = math.Min(Health / GAMEMODE.Config.startinghealth, 1)[/Code] In which that ^^^ Makes a RoundedBox or poly or whatever, out of 100% it adjusts it to the amount of health you have. [B]But wait, Helplesskitty, you imbecile, what are you after?[/B] What i am looking for is a way, in the HUD i am creating, for when the player stops moving(got this part already done) their "Extra" HUD components(done), will "slide"/Transition into view form their "Base"(Done). I have tried using a few things, and looked at Utimes clientside code to see how it is done etc. But to no luck. So any help would be appreciated. SOLVED, i fiddled with it for a bit.
Update: Got the transition working, this is for DarkRP and in cl_HudReplacement, and i am wondering how to call this transition on a certain event/condition(standing still(done)), as of now it only displays on lua refresh or server join.
Sorry, you need to Log In to post a reply to this thread.