diff options
| author | Scott <scotth0828@gmail.com> | 2016-05-04 18:45:22 -0400 |
|---|---|---|
| committer | Scott <scotth0828@gmail.com> | 2016-05-04 18:45:22 -0400 |
| commit | c179c43f6bf13757c88585907c9448d5fbf65eed (patch) | |
| tree | 8a83587388f97c334178d9456b8e90a3f9736804 /gamemode | |
| parent | 8b995358401b7f1e967efe79eb9080df462c09ea (diff) | |
| download | gmstranded-c179c43f6bf13757c88585907c9448d5fbf65eed.tar.gz gmstranded-c179c43f6bf13757c88585907c9448d5fbf65eed.tar.bz2 gmstranded-c179c43f6bf13757c88585907c9448d5fbf65eed.zip | |
Changes
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() |
