SA-MP Forums Archive
Sucide!! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Sucide!! (/showthread.php?tid=173061)



Sucide!! - deather - 01.09.2010

What is the 'reason' in OnPlayerDeath for Vehicle Collision? or How to check if a player has collided from his vehicle?


Re: Sucide!! - LarzI - 01.09.2010

That counts as suicide, I think..

You might be able to check if OnVehicleDeath is called at the same time as OnPlayerDeath, and that the playerid was inside the vehicle before he died.

[This forum requires that you wait 120 seconds between posts. Please try again in 21 seconds.] FFS