summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamemode/client/cl_inventory.lua23
1 files changed, 22 insertions, 1 deletions
diff --git a/gamemode/client/cl_inventory.lua b/gamemode/client/cl_inventory.lua
index 13e1f62..da07939 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 ) )
@@ -712,6 +718,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
@@ -719,6 +738,8 @@ local PANEL = {}
function PANEL:Init()
+
+
end
function PANEL:Paint()