diff options
Diffstat (limited to 'lua/autorun/tab.lua')
| -rw-r--r-- | lua/autorun/tab.lua | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
