http://forum.darkrp.com/attachments/upload_2017-8-31_23-7-4-png.1192/
Im trying to disable that name tag from appearing, but it doesn’t work. Managed to disable all the other stuff but this one thing just doesn’t want to go.
local hiddenElements = {}
hiddenElements["CHudHealth"] = true
hiddenElements["CHudBattery"] = true
hiddenElements["CHudSuitPower"] = true
hiddenElements["DarkRP_EntityDisplay"] = true
hiddenElements["DarkRP_HUD"] = true
hiddenElements["DarkRP_LocalPlayerHUD"] = true
hiddenElements["DarkRP_Agenda"] = false
hiddenElements["DarkRP_Hungermod"] = true
hiddenElements["CHudAmmo"] = true
hiddenElements["CHudSecondaryAmmo"] = true
function HideDarkRPHUD(name)
if hiddenElements[name] then
return false
else
return true
end
end
hook.Add("HUDShouldDraw", "hideDarkRPHUD", HideDarkRPHUD)