OnVehicleDeath using for trailers
#1

Hello, I am developing a script, "Truckers" for my server.
I have a problem with using the callback OnVehicleDeath for trailers:
- OnVehicleDeath does not work when the trailer fall into the water, or explodes =(
- - - - -
And yet, I made a little script (LINK) to check (once per second) the health of the trailer... Аnd I saw that the health of the trailer is always = 1000 ... оО
- - - - -
Reply
#2

The same happens for all vehicles that haven't been used since they spawned. I hope it gets fixed.
Reply
#3

Try check z-coords... It would be 0 +/- if trailer in water... Or http://forum.sa-mp.com/showpost.php?...&postcount=352
Reply
#4

Look your Z-Cordinates man (maybe it's wrong ...) IDK
Reply
#5

Quote:
Originally Posted by OKStyle
View Post
Try check z-coords... It would be 0 +/- if trailer in water... Or http://forum.sa-mp.com/showpost.php?...&postcount=352
what about Hunter Quarry?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)