Skip to content

giveawayitempanel

Jofre Problem? edited this page Jan 14, 2025 · 1 revision

Resource/ui/giveawayitempanel.res

Introducing a menu where you can select stuff in-game.

How to

To activate it you need to setup a bind on the options menu.

image

In my case, I set it up as "p"

image

When I press "p" this menu will appear indicating what stuff is available.

Implementation

"Resource/UI/GiveawayItemPanel.res"
{
	"giveaway_item"
	{
		"ControlName"		"Frame"
		"fieldName"		"giveaway_item"
		"xpos"			"0"
		"ypos"			"0"
		"wide"			"f0"
		"tall"			"480"
		"PaintBackground"	"1"
		"bgcolor_override" "0 0 0 0"
		"keyboardinputenabled"	"0"
	}
}

Known bugs

If you execute "hud_reloadscheme" this menu wont work, you need to change of classes to make it work again.

Clone this wiki locally