18.04.2013, 19:00
OnVehicleDeath is called when a vehicle enters water (but also when they explode). That's all I can think of. Not sure how you could detect whether it's water or explosion.
P.S. Note the following:
> Vehicle enters water
> OnVehicleDeath called
> Vehicle is 'saved' from water (teleported/driven out (thanks to low waves))
> Vehicle re-enters water
> OnVehicleDeath won't be called a second time.
P.S. Note the following:
> Vehicle enters water
> OnVehicleDeath called
> Vehicle is 'saved' from water (teleported/driven out (thanks to low waves))
> Vehicle re-enters water
> OnVehicleDeath won't be called a second time.