
 Originally Posted by 
Loveboy
					
				 
				Thank you but i get this error:
cg_draw2D is cheat protected.
Edit: on server.cfg set sv_cheats "1" will not help me.
			
		 
	 
 You have to be in developer mode to use that cvar. There is no way to hide all huds on a normal server. The only way to do it is go through every hud you are using, including stock ones, and put a cvar to turn them off. I did it for my version of hardcore mode:

And I did that by editing hud.menu:
Example:
	PHP Code:
	
		
    // WEAPON INFO
    menuDef
    {
        name "weaponinfo"
        fullScreen MENU_FALSE
        visible MENU_TRUE
        //rect 0 0 0 0 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_BOTTOM
        rect 60 408.375 640 40
        // weapon ammo counter back
        itemDef
        {
            name "ammocounterback"
            //rect -100 -75 100 50
            rect 557.5 12 80 40
            forecolor 1.0 1.0 1.0 1.0
            background "gfx/hud/hud@ammocounterback.tga"
            ownerdraw CG_PLAYER_AMMO_BACKDROP
            visible MENU_TRUE
            decoration
            dvartest  "scr_demon_hardcore"
            showDvar  { "0" }
        }
        
        // weapon name
        itemDef
        {
            name "weapname"
            //rect -385 -40 290 40
            rect 242.5 37.65 320 30
            textstyle ITEM_TEXTSTYLE_SHADOWED
            textscale WEAPON_TEXTSCALE
            //textscale .4
            forecolor 1.0 1.0 1.0 1.0
            ownerdraw CG_PLAYER_WEAPON_NAME
            visible MENU_TRUE
            decoration
            dvartest  "scr_demon_hardcore"
            showDvar  { "0" }
        }
        
        // ammo text
        itemDef 
        {
             name "ammotex"
            //rect -85 -40 70 40
            rect 570 38.5 55 40
            textstyle ITEM_TEXTSTYLE_SHADOWED
            textscale .325
            forecolor 1.0 1.0 1.0 1.0
            ownerdraw CG_PLAYER_AMMO_VALUE
            visible MENU_TRUE
            decoration
            dvartest  "scr_demon_hardcore"
            showDvar  { "0" }
        }
    } 
	
 If you look close, you can see that there is a dvartest for all menu items. To turn them all off, you just set the client cvar scr_demon_hardcore to 0 for all players.