diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-07 18:22:29 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-07 18:22:29 -0400 |
| commit | daa59a7835c350a09dcb207c714acf57828137f3 (patch) | |
| tree | ae2c00da0e546447ca17a9c5d8492310e5e93f27 /lua/autorun/tab.lua | |
| download | artery_editor-daa59a7835c350a09dcb207c714acf57828137f3.tar.gz artery_editor-daa59a7835c350a09dcb207c714acf57828137f3.tar.bz2 artery_editor-daa59a7835c350a09dcb207c714acf57828137f3.zip | |
Inital Commit
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 |
