How to check if vehicle gets any damage? or veh health detect
#1

or vehicle health reduce?
There have any public function?
Reply
#2

There's no native way of doing that. OnVehicleDamageStatusUpdate exists, but it is only called when visual damage is done.

For vehicle health change you could use this: http://forum.sa-mp.com/showpost.php?...3&postcount=13
Reply
#3

There isn't any callback related to vehicle health loss, but you can still make a timer to check. There is only damage status callback, OnVehicleDamageStatusUpdate
Reply
#4

Quote:
Originally Posted by dusk
Посмотреть сообщение
There's no native way of doing that. OnVehicleDamageStatusUpdate exists, but it is only called when visual damage is done.

For vehicle health change you could use this: http://forum.sa-mp.com/showpost.php?...3&postcount=13
Helped, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)