Vehicle death + water
#1

i saw on the wiki that OnVehicleDeath get's called when vehicle hits water, is there a accurate way to check if the car died on the ground and not in the water?
Reply
#2

I guess that if a vehicle explodes on ground, it's HP <= 249.9. But in water >= 250.0, except times when the car explodes in water.
Reply
#3

Quote:
Originally Posted by CaHbKo
Посмотреть сообщение
I guess that if a vehicle explodes on ground, it's HP <= 249.9. But in water >= 250.0, except times when the car explodes in water.
Lol, why didnt i think of that x).. thx!

Well, nvm.. OnVehicleDeath get's called when the Vehicle actually drown or explode not when health is under 250.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)