diff options
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/client/cl_inventory.lua | 23 |
1 files changed, 22 insertions, 1 deletions
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 @@ -50,6 +50,12 @@ local buttons = { }, { + txt = "Prop Protection", + admin = false, + + }, + { + txt = "Admin", admin = true, @@ -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() |
