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



Kill list.... - [CG]Milito - 14.12.2012

Hai there!

How can i add the kill list that shows who killed you, who killed him, who killed me, and so on

Thanks in advance!


Re: Kill list.... - Threshold - 14.12.2012

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID && killerid != playerid)
    {
        SendDeathMessage(killerid, playerid, reason);
    }
    else SendDeathMessage(INVALID_PLAYER_ID, playerid, reason);
    return 1;
}
The function SendDeathMessage is used to display these kinds of icons.


Re: Kill list.... - [CG]Milito - 14.12.2012

Thanks!
+rep