I am looking into how to make a button that is in the main menu and ingame.
I want the button to change the "cl_hud_minmode" to "0".
I managed to create a button, but clicking it only makes a sound of a button pressed, how do I make it so that when I press it, it executes the command "engine cl_hud_minmode 0"?
Big thanks to everyone! :D
		TF2 HUD - MainMenuOverride.res	
	
		posted in
		
			Customization		
	
I am looking into how to make a button that is in the main menu and ingame.
I want the button to change the "cl_hud_minmode" to "0".
I managed to create a button, but clicking it only makes a sound of a button pressed, how do I make it so that when I press it, it executes the command "engine cl_hud_minmode 0"?
Big thanks to everyone! :D
		
		
	I want the button to change the "cl_hud_minmode" to "0".
I managed to create a button, but clicking it only makes a sound of a button pressed, how do I make it so that when I press it, it executes the command "engine cl_hud_minmode 0"?
Big thanks to everyone! :D
You define the engine command in GameMenu.res
	"ToggleScoreboard"
	{
		"label" "Scoreboard"
		"command" "engine toggle cl_hud_minmode"
		"tooltip" "Switch Scoreboards"
	}			You define the engine command in GameMenu.res
[code] "ToggleScoreboard"
{
"label" "Scoreboard"
"command" "engine toggle cl_hud_minmode"
"tooltip" "Switch Scoreboards"
}[/code]
		
		
	[code] "ToggleScoreboard"
{
"label" "Scoreboard"
"command" "engine toggle cl_hud_minmode"
"tooltip" "Switch Scoreboards"
}[/code]
		Please 
					sign in through STEAM
				 to post a comment.