Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "canKeysLock", "OrgDoorLocking", function( ply, door )
- if IsValid( door:getDoorOwner() ) then
- if isInSameOrg( orgGetUID( door:getDoorOwner() ) , ply:SteamID64() ) then
- return true
- end
- end
- end)
- hook.Add( "canKeysUnlock", "OrgDoorUnlocking", function( ply, door )
- if IsValid( door:getDoorOwner() ) then
- if isInSameOrg( orgGetUID( door:getDoorOwner() ) , ply:SteamID64() ) then
- return true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment