A man in the car that was fired upon was hit in the leg and taken to a nearby hospital, police said.