• DarkRP hud issue.
    1 replies, posted
[B]Basically the default hud is showing on top of my custom hud [/B] [code] //HIDE DEFAULT HUD local hideHUDElements = { ["DarkRP_LocalPlayerHUD"] = true, ["DarkRP_Agenda"] = true, } hook.Add("HUDShouldDraw", "HideDefaultDarkRPHud", function(name) if hideHUDElements[name] then return false end end) hook.Add( "HUDShouldDraw", "hide hud", function( name ) if ( name == "CHudHealth" or name == "CHudBattery" ) then return false end -- Never return anything default here, it will break other addons using this hook. end )[/code] [b]this is inside cl_blurveiw_hud.lua for my custom hud. The bottom command seems to work but it will not show unless i constantly save the file[/b]
The value for the default hud is DarkRP_HUD I'm pretty sure. V:
Sorry, you need to Log In to post a reply to this thread.