On Vehicle hit something ? - 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: On Vehicle hit something ? (
/showthread.php?tid=596340)
On Vehicle hit something ? -
malackov - 16.12.2015
Hmm , is there something like this im trying to make if a car is going at the speed of 150km/h if it hits something that it explods is there a callback already for this i searched but i didn't find anything that i need
Re: On Vehicle hit something ? -
DRIFT_HUNTER - 16.12.2015
The only way i see it is to check vehicles health and speed...If vehicle hits something it will rapidly decelerate and lose some HP...Im pretty sure that these has been already made in similar fashion (think it was something with seat belt's for RP)
Re: On Vehicle hit something ? -
malackov - 16.12.2015
will try to do it with OnVehicleDamageStatusUpdate maybe i will figure out something

, thansk