diff options
| -rw-r--r-- | entities/entities/gms_renbuyshop.lua | 13 | ||||
| -rw-r--r-- | entities/entities/gms_rensellshop.lua | 13 | ||||
| -rw-r--r-- | gamemode/client/cl_inventory.lua | 1 |
3 files changed, 26 insertions, 1 deletions
diff --git a/entities/entities/gms_renbuyshop.lua b/entities/entities/gms_renbuyshop.lua new file mode 100644 index 0000000..f6f4f2b --- /dev/null +++ b/entities/entities/gms_renbuyshop.lua @@ -0,0 +1,13 @@ + +AddCSLuaFile() + +ENT.Base = "gms_base_entity" +ENT.PrintName = "Ren Buy Shop" + +ENT.Model = "models/props_lab/monitor02.mdl" + +if ( CLIENT ) then return end + +function ENT:OnUse( ply ) + ply:OpenCombiMenu( "gms_renbuyshop" ) +end diff --git a/entities/entities/gms_rensellshop.lua b/entities/entities/gms_rensellshop.lua new file mode 100644 index 0000000..75e43f4 --- /dev/null +++ b/entities/entities/gms_rensellshop.lua @@ -0,0 +1,13 @@ + +AddCSLuaFile() + +ENT.Base = "gms_base_entity" +ENT.PrintName = "Ren Sell Shop" + +ENT.Model = "models/props_c17/consolebox01a.mdl" + +if ( CLIENT ) then return end + +function ENT:OnUse( ply ) + ply:OpenCombiMenu( "gms_rensellshop" ) +end diff --git a/gamemode/client/cl_inventory.lua b/gamemode/client/cl_inventory.lua index d0388e7..8f8969a 100644 --- a/gamemode/client/cl_inventory.lua +++ b/gamemode/client/cl_inventory.lua @@ -1006,7 +1006,6 @@ function PANEL:Init() local item = vgui.Create( "DButton" ) item:SetText( t.text ) item:SetTall( 26 ) - print(t.args) if (t.args != nil) then item:SetConsoleCommand( t.cmd, t.args ) else item:SetConsoleCommand( t.cmd ) end self.Spawning:AddItem( item ) end |
