SA-MP Forums Archive
Best way of detecting a vehicle collision? - 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: Best way of detecting a vehicle collision? (/showthread.php?tid=579475)



Best way of detecting a vehicle collision? - Dokins - 27.06.2015

I realise this has been posted, but there's no distinctive answer that I've found. I seen an extra functions include that had 'OnVehicleCollision' but I can't find it anymore.

Any assistance would be great.


Respuesta: Best way of detecting a vehicle collision? - [DOG]irinel1996 - 27.06.2015

Check this, I don't know if it is the best way but it should work.


Re: Best way of detecting a vehicle collision? - Abagail - 27.06.2015

You should take a look at Emmet_'s OnPlayerCrashVehicle include. I don't know if it uses the best method, but it works pretty well. And I believe the "extra include" include might be Emmet_'s include which has this function inside of it aswell.

https://sampforum.blast.hk/showthread.php?tid=485682


Re: Best way of detecting a vehicle collision? - Dokins - 27.06.2015

Thank you a hell of a lot.

I appreciate it.