summaryrefslogtreecommitdiff
path: root/lua/autorun/tab.lua
blob: 358715ec6619cc115d2d4c66fe1bf915dc9a7637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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