From 0b0c92759ca686b1a0d04e72f951f3325a5b72c1 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 5 May 2016 20:17:31 -0400 Subject: Added bed entity --- entities/entities/gms_bed.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 entities/entities/gms_bed.lua (limited to 'entities') 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 -- cgit v1.2.3-70-g09d2