28.02.2019, 12:43
Hey!
I'm just wondering, why doesnt OnVehicleDeath trigger if I fall in water in vehicle, but as soon as I leave vehicle in the water it works. I know this is known bug or whatever but couldnt find solution, any of you got idea?
Right now I'm just using OnPlayerUpdate to check if vehicle Z coordinate is below 0.0, but that is overload for server I think since it has to get coordinates each time you move.
I'm just wondering, why doesnt OnVehicleDeath trigger if I fall in water in vehicle, but as soon as I leave vehicle in the water it works. I know this is known bug or whatever but couldnt find solution, any of you got idea?
Right now I'm just using OnPlayerUpdate to check if vehicle Z coordinate is below 0.0, but that is overload for server I think since it has to get coordinates each time you move.