From Liberty Unleashed Wiki
This is called whenever a vehicle is wrecked.
- function onVehicleWrecked( Vehicle vehicle )
- vehicle - The vehicle which was wrecked
This event does not handle return values.
This example will print a message to the console whenever someone wrecks a vehicle.
- function onVehicleWrecked( vehicle )
- print( "Vehicle " + vehicle.ID + " was wrecked." );
- return 1;