From c179c43f6bf13757c88585907c9448d5fbf65eed Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 4 May 2016 18:45:22 -0400 Subject: Changes --- gamemode/client/cl_inventory.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'gamemode') diff --git a/gamemode/client/cl_inventory.lua b/gamemode/client/cl_inventory.lua index d3bdd52..f1b0b5e 100644 --- a/gamemode/client/cl_inventory.lua +++ b/gamemode/client/cl_inventory.lua @@ -47,6 +47,12 @@ local buttons = { txt = "Tools", admin = false, + }, + { + + txt = "Prop Protection", + admin = false, + }, { @@ -196,7 +202,7 @@ function PANEL:Init() local btn = vgui.Create("DButton", buttonPanel) btn:SetText("") - btn:SetSize( buttonPanel:GetWide(), 44 ) + btn:SetSize( buttonPanel:GetWide(), 40 ) btn:SetPos( 0, (k-1)*btn:GetTall() + ((k-1)*1) + (titlePanelWidth+10) ) btn.Paint = function() draw.RoundedBox( 0, 0, 0, btn:GetWide(), btn:GetTall(), Color( 0, 0, 102 ) ) @@ -701,6 +707,19 @@ end vgui.Register( "Tools", PANEL, "DPanel" ) +// Prop Protection + +local PANEL = {} + +function PANEL:Init() + +end + +function PANEL:Paint() + draw.RoundedBox(0,0,0,self:GetWide(), self:GetTall(), Color(48,48,48,125)) +end + +vgui.Register( "Prop Protection", PANEL, "DPanel" ) // Admin @@ -708,6 +727,8 @@ local PANEL = {} function PANEL:Init() + + end function PANEL:Paint() -- cgit v1.2.3-70-g09d2