[HELP] Who Killed Who Filterscript?
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new pname[24];
    new killername[24];
    new string[128];

    GetPlayerName(playerid,pname,sizeof(pname));
    GetPlayerName(killerid,killername,sizeof(killername));
     format(string,sizeof(string),"[KILL] %s(%d) killed %s(%d). [Weapon: %s]",killername,killerid,pname,playerid,reason);
     SendClientMessageToAll(COLOR_RED,string);
return 1;
}
Here
EDITED: to show the weapon
Reply


Messages In This Thread
[HELP] Who Killed Who Filterscript? - by JackoXD - 23.07.2013, 23:49
Re: [HELP] Who Killed Who Filterscript? - by ShaneOvSina - 24.07.2013, 00:11
Re: [HELP] Who Killed Who Filterscript? - by JackoXD - 24.07.2013, 00:15
Re: [HELP] Who Killed Who Filterscript? - by Vanter - 24.07.2013, 00:16
Re: [HELP] Who Killed Who Filterscript? - by JackoXD - 24.07.2013, 00:21
Re: [HELP] Who Killed Who Filterscript? - by Vanter - 24.07.2013, 00:23
Re: [HELP] Who Killed Who Filterscript? - by JackoXD - 24.07.2013, 00:28
Re: [HELP] Who Killed Who Filterscript? - by JackoXD - 24.07.2013, 00:35
Re: [HELP] Who Killed Who Filterscript? - by Vanter - 24.07.2013, 00:40
Re: [HELP] Who Killed Who Filterscript? - by JackoXD - 24.07.2013, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)