A critical incident was declared after shots were fired at a car.