if args[1]=="1" then local tr = util.GetPlayerTrace( ply, aimvec ) local trace = util.TraceLine( tr ) local tr2=trace.Entity if not ValidEntity(tr2) then return end if IsNormalDoor(tr2) then tr2=tr2.pimp end if ply:IsDoorOwner(tr2) then tr2:Fire("unlock","",0) ply:SendServerMessage("UnLocked.") else ply:SendServerMessage("You do not own this.") end end