14.01.2012, 01:29
The above will destroy every vehicle that dies though! Use a global variable to keep track of the vehicle that you wish to be destroyed when it dies, and add an if statement to the above poster's method. If you're planning on having multiple vehicles that get destroyed upon death, use an array/loop.