Garry's Mod

Garry's Mod

40 个评价
Modern Hud
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
1.053 KB
2018 年 2 月 13 日 下午 6:17
2018 年 2 月 13 日 下午 6:35
2 项改动说明 ( 查看 )

订阅以下载
Modern Hud

描述
I wanted to make a new HUD for gGmod as the one avaliable at the moment isn't that nice looking.

What does it include:
-Working Health Bar
-Shield Bar
-Ammo Counter
-Weapon Name
-An okay reticle for you to look at

Known Bugs:
-When you die the addon creates a script error that diisapears once you respawn

P.S.
This is my first proper workshop item.
Tell me what I can improve.
























What are you doing looking down here for? The subscribe button is up there
5 条留言
Ultra instinct Martin 8 月 14 日 上午 1:24 
it makes mistakes
MysteriousGirl 2018 年 10 月 19 日 下午 11:30 
Change Line 28 from
local curammo = LocalPlayer():GetActiveWeapon():Clip1()

to

local client = LocalPlayer()
local clip = LocalPlayer():GetActiveWeapon()
if clip and IsValid(clip) then
local curammo = clip:Clip1()

this will correct the clip1 error on death. Enjoy.
joao assissinista 2018 年 2 月 27 日 下午 1:25 
its not modern, its just basic and shit.
JFAexe 2018 年 2 月 24 日 上午 4:12 
How about to fix bars when armor and hp more than 100 and fix that error:

[ERROR] lua/autorun/modernhud.lua:28: attempt to call method 'Clip1' (a nil value)
1. nextevent - lua/autorun/modernhud.lua:28
2. unknown - lua/dlib/modules/hook.lua:439

I know how to fix that, if you want I can help
The Hogg 2018 年 2 月 23 日 下午 1:15 
Yeah it's pretty good, a little weird at first, but it certainly looks a hecc of a lot cleaner than the standard shit