summaryrefslogtreecommitdiff
path: root/entities
diff options
context:
space:
mode:
authorScott <scotth0828@gmail.com>2016-05-21 18:42:20 -0400
committerScott <scotth0828@gmail.com>2016-05-21 18:42:20 -0400
commite4fad85f0a94be268bd18767406c74d2ca18c5d6 (patch)
tree20ffc1604b0630870abff622a627149c129239d9 /entities
parent18e985e9e989190e937db0418910841e00f1c274 (diff)
downloadgmstranded-e4fad85f0a94be268bd18767406c74d2ca18c5d6.tar.gz
gmstranded-e4fad85f0a94be268bd18767406c74d2ca18c5d6.tar.bz2
gmstranded-e4fad85f0a94be268bd18767406c74d2ca18c5d6.zip
Fixed spawning with admin menu
Diffstat (limited to 'entities')
-rw-r--r--entities/entities/gms_renbuyshop.lua13
-rw-r--r--entities/entities/gms_rensellshop.lua13
2 files changed, 26 insertions, 0 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