SA-MP Forums Archive
OnPlayerExitVehicle - 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: OnPlayerExitVehicle (/showthread.php?tid=585714)



OnPlayerExitVehicle - SumX - 15.08.2015

Hello! Is OnPlayerExitVehicle called when a player is in a vehicle and he dies? For example: the car explodes or he gets killed inside the car. Thank you


Re: OnPlayerExitVehicle - UnDetectable - 15.08.2015

if the car explodes and the player exits from it before it does, It will be called
But if the car explodes and he dies
I don't think so
OnPlayerDeath will be called in this case