Garry's Mod

Garry's Mod

73 个评价
MinHud - minimalistic hud [DARKRP and SANDBOX support]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 漫画, 风景
文件大小
发表于
更新日期
183.038 KB
2021 年 8 月 5 日 上午 9:01
2021 年 8 月 15 日 上午 8:16
4 项改动说明 ( 查看 )

订阅以下载
MinHud - minimalistic hud [DARKRP and SANDBOX support]

描述
Minimalistic hud for sandbox and other gamemodes

· ping
· time
· health
· armor
· darkrp support
· hungermod support

in progress:

· ammo
24 条留言
Harvest?  [作者] 1 月 9 日 下午 1:14 
<3
Comrade Boris 1 月 9 日 上午 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!
Фалин 2024 年 1 月 15 日 上午 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,
}
Фалин 2024 年 1 月 15 日 上午 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 2023 年 9 月 10 日 上午 2:28 
Doesn't work.
безымянный корол 2023 年 8 月 27 日 上午 3:56 
Чел красава!
аБИБАс 2023 年 7 月 20 日 上午 5:38 
автор забросил шикарный аддон.
MELIA 2022 年 6 月 4 日 下午 11:45 
add pls ammo display
Taro 2022 年 4 月 9 日 上午 9:44 
can you move the time on your own or
Fade 2022 年 1 月 29 日 下午 4:51 
Does this work with Nutscript?