Hello every one I have recently bought the (TCB - Premium: FG HUD) hud for my server it works great but then the hl2 sandbox hud appears over the hud here's a link to what it looks like and as you see in the picture it has another health thing could some one please help me thank you
Picture of the hud: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=686032160[/url]
create a .lua file in lua/autorun/client and paste the code below in it and save. Don't forget to restart your server.
[code]local hide = {
CHudHealth = true,
CHudBattery = true,
}
hook.Add( "HUDShouldDraw", "HideHUD", function( name )
if ( hide[ name ] ) then return false end
-- Don't return anything here, it may break other addons that rely on this hook.
end )[/code]
Okay what do you mean .lua file and should i place it in this lua file /garrysmod/lua/autorun/server
and am i suppose to have a cl_hudreplacement textdocument in this file folder folder /garrysmod/addons/darkrpmodification/lua/darkrp_modules/hudreplacement
Make sure that you have hidden file extensions showing. Create a .txt document. Change it to .lua. Paste the contents of the code in it. I'm not sure about the second question. I don't use DarkRP.
Matsu what lua file do you want me to puth this code in and what should I name the .lua file
Create a new text document in lua/autorun/client, rename the text file to whatever.lua, paste the contents of the code there.
Sorry, you need to Log In to post a reply to this thread.