Garry's Mod

Garry's Mod

MinHud - minimalistic hud [DARKRP and SANDBOX support]
24 kommentarer
Harvest?  [ophavsmand] 9. jan. kl. 13:14 
<3
Comrade Boris 9. jan. kl. 10:06 
I had an issue with this HUD, which is beautiful by the way.

I noted when ever I use this HUD I end up having no HUD at all. It seems none of the positioning for the elements in this HUD are relative, so its all hard coded to coordinates. Unless your using the same res as the creator these elements wont actually stay in the same place. For me they where actually being drawn off the screen (I have a small laptop).

I actually ended up completely recoding this to make it relative because I want to use it in my gamemode. HUD scripting isn't my strong point but I just really like how clean it looks.

Props to the creator!
Falin 15. jan. 2024 kl. 1:59 
Не забудьте вписать снизу/заменить (В самом конце)

local hideHUDElements = {
["DarkRP_HUD"] = true,
["DarkRP_EntityDisplay"] = true,
["DarkRP_LocalPlayerHUD"] = true,
["DarkRP_Hungermod"] = true,
["DarkRP_ZombieInfo"] = true,
["DarkRP_Agenda"] = true,
["DarkRP_LockdownHUD"] = true,
["DarkRP_ArrestedHUD"] = false,
["CHudHealth"] = true,
["CHudBattery"] = true,
["CHudAmmo"] = true,
["CHudSuitPower"] = true,
}
Falin 15. jan. 2024 kl. 1:59 
Вставьте кому нужен HUD на оружие там

local weapon = ply:GetActiveWeapon()

if IsValid(weapon) and weapon:Clip1() > -1 then

surface.SetDrawColor(theme_color)
surface.SetMaterial(ammo)

surface.DrawTexturedRect( ScrW() - 200, ScrH() - 60, 10, 10 )

draw.RoundedBox(0, ScrW() - 185, ScrH() - 60, 150, 15, Color(0,0,0,100))

draw.RoundedBox(0, ScrW() - 185, ScrH() - 60, weapon:Clip1() * 1.5 ,15, theme_color)

draw.SimpleText(weapon:GetPrintName(), "DermaLarge", ScrW() - 110, ScrH() - 80, theme_color, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
draw.SimpleText(weapon:Clip1() .. "/" .. ply:GetAmmoCount(weapon:GetPrimaryAmmoType()), "DermaLarge", ScrW() - 110, ScrH() - 30, theme_color, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
end
Smokkerino 10. sep. 2023 kl. 2:28 
Doesn't work.
безымянный корол 27. aug. 2023 kl. 3:56 
Чел красава!
аБИБАс 20. juli 2023 kl. 5:38 
автор забросил шикарный аддон.
MELIA 4. juni 2022 kl. 23:45 
add pls ammo display
Taro 9. apr. 2022 kl. 9:44 
can you move the time on your own or
Fade 29. jan. 2022 kl. 16:51 
Does this work with Nutscript?
postcoitusrock 25. nov. 2021 kl. 8:41 
thanks :)
Harvest?  [ophavsmand] 25. nov. 2021 kl. 8:38 
rp_downtown_crack
postcoitusrock 25. nov. 2021 kl. 7:53 
map?
msmr 19. nov. 2021 kl. 22:31 
Добавь пожалуйста счётчик патронов 🥶
Harvest?  [ophavsmand] 19. nov. 2021 kl. 5:27 
ok
MELIA 18. nov. 2021 kl. 2:29 
pls add ammo display
LittleFox 28. sep. 2021 kl. 4:22 
I see only ping and nothing
Harvest?  [ophavsmand] 25. aug. 2021 kl. 10:23 
Perhaps the addon conflicts with any of your subscriptions. If you liked it, then you can try to find out which one (watch the video)

https://youtu.be/4XlUWywJgOY
Diwen 25. aug. 2021 kl. 5:51 
hm I did not look but I have no script error at the top left, by downloading it I only have the ping but nothing else
Harvest?  [ophavsmand] 25. aug. 2021 kl. 3:52 
Do you have errors in console with MinHud?
Diwen 24. aug. 2021 kl. 16:40 
No work
Tequila Sunset 15. aug. 2021 kl. 9:50 
cooL!!!:Geralt:
mevthhead 13. aug. 2021 kl. 10:52 
this is pretty good, very clean looking
plaintax 8. aug. 2021 kl. 1:04 
keep up the good work