09.04.2013, 04:58
Take an M4, start aiming with it, and bump into the car (walk towards it constantly while aiming), and start shooting. Voila! The car is taking damage. Use GetPlayerCameraPos and GetPlayerCameraFrontVector to make sure that the player is aiming at the car.