Removing HUD Permanently, on server.

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:


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)

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

Add this to the top of the HUD code where it is being drawn

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! :slight_smile: