19.05.2014, 19:05
add this to onplayerdeath
pawn Код:
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
new name1[MAX_PLAYER_NAME+1];
GetPlayerName(killerid, name1, sizeof(name1));
new string[128];
format(string,sizeof(string),"You got killed by %s",name1);
SendClientMessage(playerid,color,string);
format(string,sizeof(string),"You killed %s",name);
SendClientMessage(killerid,color,string);