Police arrest person with gun who was sleeping in a parked car