From daa59a7835c350a09dcb207c714acf57828137f3 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 7 Aug 2017 18:22:29 -0400 Subject: Inital Commit --- lua/autorun/tab.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/autorun/tab.lua (limited to 'lua/autorun/tab.lua') diff --git a/lua/autorun/tab.lua b/lua/autorun/tab.lua new file mode 100644 index 0000000..358715e --- /dev/null +++ b/lua/autorun/tab.lua @@ -0,0 +1,16 @@ +print("Hello from a lua refresh!") +if CLIENT then + + spawnmenu.AddCreationTab( "Artery", function(...) + + local panel = vgui.Create("DPanel") + + local zoneeditor = vgui.Create("DButton", panel) + zoneeditor:SetText("Zone Editor Tool") + zoneeditor:SetConsoleCommand("give","weapon_zone_designator") + zoneeditor:SizeToContents() + + + return panel + end ) +end -- cgit v1.2.3-70-g09d2