• Problem with HUD DarkRP
    9 replies, posted
I have a problem with hud.. Look :[IMG]https://lh4.googleusercontent.com/-pR1fR-NnUh4/VQBsiEmOc9I/AAAAAAAAANo/dBXwhpQh630/w1461-h822-no/2015-03-11_00002.jpg[/IMG] [URL=http://steamprofile.com][IMG]http://badges.steamprofile.com/profile/default/steam/76561198087272644.png[/IMG][/URL]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/HUDShouldDraw]GM/HUDShouldDraw[/url]
You're asking about a scriptfodder addon. There's a readme for most of them, you might want to read that. Edit: That or contact the creator.
So i try to turn "["DarkRP_HUD"] = false to "["DarkRP_HUD"] = true [img_thumb]https://lh3.googleusercontent.com/-EYzSCk5td5k/VQB0EqS_hxI/AAAAAAAAAOU/ToasKBxtWC0/w1598-h513-no/122.jpg[/img_thumb] And now its do me that : [img_thumb]https://lh6.googleusercontent.com/-UfUYoPMY0fM/VQB0JfvB62I/AAAAAAAAAO4/O0XI4L-vX4U/w1461-h822-no/2015-03-11_00005.jpg[/img_thumb]
Thats because vector hud replaces the default darkrp hud. Like I said, read the readme.txt.
Thanks for the reply but he dont have any folder called : readme in the SleekHud folder :/
[QUOTE=sam2054;47303188]-[/QUOTE] [QUOTE=meharryp;47302313][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/HUDShouldDraw]GM/HUDShouldDraw[/url][/QUOTE]
[QUOTE=Invule;47303979][/QUOTE] Make it a little bit easier for him [code] local hideHUDElements = { ["DarkRP_HUD"] = true, ["CHudHealth"] = true, ["CHudBattery"] = true, ["CHudSuitPower"] = true, ["CHudAmmo"] = false } hook.Add("HUDShouldDraw", "HideDefaultDarkRPHud", function(name) if hideHUDElements[name] == true then return false end end) [/code] Make sure all of those are in it.
Could simplify that. [lua]if hideHUDElements[name] then return false end[/lua]
-snip-
Sorry, you need to Log In to post a reply to this thread.