summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--entities/entities/gms_bed.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/entities/entities/gms_bed.lua b/entities/entities/gms_bed.lua
new file mode 100644
index 0000000..9ca5e86
--- /dev/null
+++ b/entities/entities/gms_bed.lua
@@ -0,0 +1,13 @@
+
+AddCSLuaFile()
+
+ENT.Base = "gms_base_entity"
+ENT.PrintName = "Bed"
+
+ENT.Model = "models/XQM/Rails/gumball_1.mdl"
+
+if ( CLIENT ) then return end
+
+function ENT:OnUse( ply )
+ ply:ConCommand("gms_sleep")
+end