Door functions

master
E. Almqvist 5 years ago
parent e48c001951
commit e60de69ee5
  1. 12
      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 function Quantum.Server.Property.Get( propid ) return Quantum.Server.Property.Properties[propid] end
-- player functions -- -- Player functions --
function Quantum.Server.Property.SetOwner( propid, charid ) function Quantum.Server.Property.SetOwner( propid, charid )
Quantum.Server.Property.Properties[propid].owner = 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
end end
end) end)
-- Door functions --
function Quantum.Server.Property.LockDoor( ent )
if( ent:GetClass() ) then -- doors/door_locked2.wav
end
end
Loading…
Cancel
Save