SA-MP Forums Archive
OnVehicleDamageStatusUpdate delay - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnVehicleDamageStatusUpdate delay (/showthread.php?tid=635630)



OnVehicleDamageStatusUpdate delay - iBots - 10.06.2017

I have used this callback for a simple thing,when it gets damaged,it sends a message to the playerid that he damaged the car,The thing is that when i hit the car,sometimes it doesnt send ,and when i hit the car again it sends two times,which means it sends the first one which wasnt sent and sends the second one,Why does this happen,and is there any way to solve it?


Re: OnVehicleDamageStatusUpdate delay - Threshold - 11.06.2017

https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate

Quote:

This callback is called when a vehicle element such as doors, tires, panels, or lights get damaged.

This callback is only called when the vehicle is VISUALLY damaged, not when it receives a deduction to its overall health.