• Darkrp HUD Help
    4 replies, posted
[url]http://pastebin.com/nPUSnuf5[/url] That link is a DarkRP HUD for health. Does anyone know how to make one for armor. Pls help. -garrysmod983
Bump.
[QUOTE=garrysmod983;51511591][url]http://pastebin.com/nPUSnuf5[/url] That link is a DarkRP HUD for health. Does anyone know how to make one for armor. Pls help. -garrysmod983[/QUOTE] Change DrawHealth to DrawArmor I THINK im not sure\ Use this thread to post this : [URL="https://facepunch.com/forumdisplay.php?f=65"]CLICK HERE[/URL]
[url]https://facepunch.com/showthread.php?t=1544952[/url]
did it local function Base() draw.RoundedBox(6, ScrW() - 400 - 915, ScrH () - 125 - 15, 235, 150, Color(51, 102, 153, 195)) draw.RoundedBox(6, ScrW() - 1287, ScrH () - 133, 200-20, 20, Color(100,100,100,200)) draw.RoundedBox(6, ScrW() - 1287, ScrH () - 110, 200-20, 20, Color(100,100,100,200)) local DrawHealth = LocalPlayer():Health() or 0 local EchoHealth = LocalPlayer():Health() or 0 local DrawArmor = LocalPlayer():Armor() or 0 local EchoArmor = LocalPlayer():Armor() or 0 if DrawHealth > 100 then DrawHealth = 100 end if DrawHealth < 0 then DrawHealth = 0 end if DrawHealth != 0 then draw.RoundedBox(6, ScrW() - 1287 + 2, ScrH () - 133 + 2, (200-24) * DrawHealth / 100, 20-4, Color(255,0,0,255)) end if DrawArmor > 100 then DrawArmor = 100 end if DrawArmor < 0 then DrawArmor = 0 end if DrawArmor != 0 then draw.RoundedBox(6, ScrW() - 1287 + 2, ScrH () - 110 + 2, (200-24) * DrawArmor / 100, 20-4, Color(0,0,255,255)) end
Sorry, you need to Log In to post a reply to this thread.