There are repellants that keep rodents away from vehicles. These repellents come in the form of sprays and pouches, and even plug-in devices, that you can put near your car.