From e60de69ee5dd5818f60684f5f387c536423c3d23 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 22 Feb 2020 00:02:18 +0100 Subject: [PATCH] Door functions --- gamemode/engine/lib/server/sv_property.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gamemode/engine/lib/server/sv_property.lua b/gamemode/engine/lib/server/sv_property.lua index 3a09e88..1540f6d 100644 --- a/gamemode/engine/lib/server/sv_property.lua +++ b/gamemode/engine/lib/server/sv_property.lua @@ -34,7 +34,7 @@ end function Quantum.Server.Property.Get( propid ) return Quantum.Server.Property.Properties[propid] end --- player functions -- +-- Player functions -- function Quantum.Server.Property.SetOwner( propid, charid ) Quantum.Server.Property.Properties[propid].owner = charid @@ -49,4 +49,12 @@ hook.Add( "Move", "Quantum_Move_Property_CheckInZone", function( ply, mv ) end end end -end) \ No newline at end of file +end) + +-- Door functions -- + +function Quantum.Server.Property.LockDoor( ent ) + if( ent:GetClass() ) then -- doors/door_locked2.wav + + end +end \ No newline at end of file