Garry's Mod

Garry's Mod

Modern Hud
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 ♥♥♥♥.
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 ♥♥♥♥