SA-MP Forums Archive
detect car crash - 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: detect car crash (/showthread.php?tid=631156)



detect car crash - maikons - 24.03.2017

How to detect car crash and use together to OnPlayerWeaponShot and made a server side to block hacks on vehicles...


Re: detect car crash - maikons - 27.03.2017

bump


Re: detect car crash - maikons - 30.03.2017

bump


Re: detect car crash - Toroi - 30.03.2017

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

This callback gets called when any vehicle crashes (unless it does not damage the vehicle shell). However it wont detect shots issued to vehicles and, as you stated, you'll have to use OnPlayerWeaponShot.