SA-MP Forums Archive
OnVehicleDeath using for trailers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: OnVehicleDeath using for trailers (/showthread.php?tid=223581)



OnVehicleDeath using for trailers - OFFREAL - 09.02.2011

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 ... оО
- - - - -


Re: OnVehicleDeath using for trailers - beckzy - 09.02.2011

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


Re: OnVehicleDeath using for trailers - OKStyle - 10.02.2011

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


Re: OnVehicleDeath using for trailers - necrobg3 - 01.04.2011

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


Re: OnVehicleDeath using for trailers - Donya - 01.04.2011

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?