SA-MP Forums Archive
Car crash detection. - 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: Car crash detection. (/showthread.php?tid=606674)



Car crash detection. - Unrea1 - 07.05.2016

There is some function or FS detect when a car crash ?, life depending on the speed according to the speed would drop would take the user, for example:

50 km / h = -15 HP, and so on.

thanks and regards


Re: Car crash detection. - Unrea1 - 08.05.2016

bump


Re: Car crash detection. - PrO.GameR - 08.05.2016

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

OnPlayerCrashVehicle(playerid, vehicleid, Float:damage)