• Removing HUD Permanently, on server.
    7 replies, posted
Hi, I have just added a custom HUD to my server, but as I disabled the default DarkRP HUD, the yellow health HUD just shows over the costum one instead. Any way to remove the yellow HUD from my server? Thank you.
Something like this: [CODE]function hidehud(name) -- Removing the default HUD for k, v in pairs({"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo", })do if name == v then return false end end end hook.Add("HUDShouldDraw", "HideOurHud:D", hidehud)[/CODE] But if it's one from CoderHire then you should ask the owner/maker/creator.
Thank you. Where would I put this?
lua/autorun/server
[QUOTE=Soger7;44996541]Thank you. Where would I put this?[/QUOTE] Add this to the top of the HUD code where it is being drawn
[QUOTE=Aeternal;44998467]Add this to the top of the HUD code where it is being drawn[/QUOTE] I am really sorry for this, but where is that?
I'm not sure. I don't have the file. Just look in the file where you see a HUDPaint hook and add it to the top of the code there.
Thank you really much, it worked! :)
Sorry, you need to Log In to post a reply to this thread.