disable health display

Hi there! I made my own health display, but I still have the HL2 health display over the top, how do I get rid of this?

thanks

[lua]function hidehud(name)
for k, v in pairs{“CHudHealth”, “CHudBattery”, “CHudAmmo”, “CHudSecondaryAmmo”} do
if name == v then return false end
end
end
hook.Add(“HUDShouldDraw”, “hidehud”, hidehud)[/lua]

Remove unnecessary variables as you see fit.

thanks!