Use trace()?
It outputs everything that happens in the game to the console. If you search for the function where you collide with a vehicle you could also probably find a function for collision with a vehicle.