Garry's Mod

Garry's Mod

MinHud - minimalistic hud [DARKRP and SANDBOX support]
24 Comments
т*леграм  [author] 9 Jan @ 1:14pm 
<3
Comrade Boris 9 Jan @ 10:06am 
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 @ 1:59am 
Не забудьте вписать снизу/заменить (В самом конце)

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 @ 1:59am 
Вставьте кому нужен 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 @ 2:28am 
Doesn't work.
Курт Кабейн 27 Aug, 2023 @ 3:56am 
Чел красава!
аБИБАс 20 Jul, 2023 @ 5:38am 
автор забросил шикарный аддон.
MELIA 4 Jun, 2022 @ 11:45pm 
add pls ammo display
Taro 9 Apr, 2022 @ 9:44am 
can you move the time on your own or
Fade 29 Jan, 2022 @ 4:51pm 
Does this work with Nutscript?
postcoitusrock 25 Nov, 2021 @ 8:41am 
thanks :)
т*леграм  [author] 25 Nov, 2021 @ 8:38am 
rp_downtown_crack
postcoitusrock 25 Nov, 2021 @ 7:53am 
map?
msmr 19 Nov, 2021 @ 10:31pm 
Добавь пожалуйста счётчик патронов 🥶
т*леграм  [author] 19 Nov, 2021 @ 5:27am 
ok
MELIA 18 Nov, 2021 @ 2:29am 
pls add ammo display
LittleFox 28 Sep, 2021 @ 4:22am 
I see only ping and nothing
т*леграм  [author] 25 Aug, 2021 @ 10:23am 
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 @ 5:51am 
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
т*леграм  [author] 25 Aug, 2021 @ 3:52am 
Do you have errors in console with MinHud?
Diwen 24 Aug, 2021 @ 4:40pm 
No work
Tequila Sunset 15 Aug, 2021 @ 9:50am 
cooL!!!:Geralt:
mevthhead 13 Aug, 2021 @ 10:52am 
this is pretty good, very clean looking
plaintax 8 Aug, 2021 @ 1:04am 
keep up the good work