SA-MP Forums Archive
Vehicle explosion killerid - 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: Vehicle explosion killerid (/showthread.php?tid=638454)



Vehicle explosion killerid - TracerX - 31.07.2017

Hey, I wanted to show who exploded the player's vehicle. Like for example Player X shooted a rocket at Player Y who is in a vehicle, normally, it shows that he got exploded in the deathlist, I want it to show like Player X destroyed Player Y, how can I do this?


Re: Vehicle explosion killerid - Shinja - 01.08.2017

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


Re: Vehicle explosion killerid - C4rtm4n - 01.08.2017

Friend See this topic on the wiki how to do what you want https://sampwiki.blast.hk/wiki/OnPlayerDeath


Re: Vehicle explosion killerid - Vince - 01.08.2017

I've found OnVehicleDeath to be a little of use. I don't believe "killerid" refers to a playerid because it will often return 255 (0xFF) when no such player is connected.