SA-MP Forums Archive
On Player Death - 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: On Player Death (/showthread.php?tid=554090)



On Player Death - AgusZ - 02.01.2015

How to add this on send death message





Re: On Player Death - Facerafter - 02.01.2015

Quote:

(killer, killee, weapon)
killer The ID of the killer (can be INVALID_PLAYER_ID).
killee The ID of the player that died.
weapon The reason (not always a weapon) for the victim's death. Special icons can also be used (ICON_CONNECT and ICON_DISCONNECT).

https://sampwiki.blast.hk/wiki/Function:SendDeathMessage


Re: On Player Death - ATGOggy - 02.01.2015

PHP код:
SendDeathMessage(INVALID_PLAYER_IDplayerid200); //for connect
SendDeathMessage(INVALID_PLAYER_IDplayerid201);//for disconnect 



Re: On Player Death - AgusZ - 02.01.2015

Thank you for help


Re: On Player Death - ATGOggy - 02.01.2015

You're welcome