Garry's Mod

Garry's Mod

39 ratings
Modern Hud
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.053 KB
13 Feb, 2018 @ 6:17pm
13 Feb, 2018 @ 6:35pm
2 Change Notes ( view )

Subscribe to download
Modern Hud

Description
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
4 Comments
MysteriousGirl 19 Oct, 2018 @ 11:30pm 
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.
sybau 27 Feb, 2018 @ 1:25pm 
its not modern, its just basic and shit.
JFAexe 24 Feb, 2018 @ 4:12am 
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 23 Feb, 2018 @ 1:15pm 
Yeah it's pretty good, a little weird at first, but it certainly looks a hecc of a lot cleaner than the standard shit