Error with Custom HUD. (Stock Health/Armor Overlay)
4 replies, posted
Can anyone tell me how to fix this error?
You also cannot see if doors are owned, for sale, etc.
[IMG]http://steamcommunity.com/sharedfiles/filedetails/?id=244236374[/IMG]
[code]function hidehud(name)
for k, v in pairs({"CHudHealth", "CHudBattery"})do
if name == v then return false end
end
end
hook.Add("HUDShouldDraw", "HideDefaultHUD", hidehud)
[/code]
[QUOTE=code_gs;44407710][code]function hidehud(name)
for k, v in pairs({"CHudHealth", "CHudBattery"})do
if name == v then return false end
end
end
hook.Add("HUDShouldDraw", "HideDefaultHUD", hidehud)
[/code][/QUOTE]
Where do I put this code?
It's clientside lua
Thank you, but how do I fix the error that I can't see if doors are owned?
The doors show no text at all.
Sorry, you need to Log In to post a reply to this thread.