OnPlayerDeath
#2

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);
Reply


Messages In This Thread
OnPlayerDeath - by Spartaaaaa - 19.05.2014, 19:00
Re: OnPlayerDeath - by JFF - 19.05.2014, 19:05
Re: OnPlayerDeath - by TakeiT - 19.05.2014, 19:05
Re: OnPlayerDeath - by Abagail - 19.05.2014, 19:13
Re : OnPlayerDeath - by yusei - 19.05.2014, 19:14
Re: OnPlayerDeath - by Spartaaaaa - 19.05.2014, 19:16
Re: OnPlayerDeath - by Abagail - 19.05.2014, 19:19
Re: OnPlayerDeath - by Spartaaaaa - 19.05.2014, 19:21
Re: OnPlayerDeath - by Spartaaaaa - 19.05.2014, 19:23
Re: OnPlayerDeath - by TakeiT - 19.05.2014, 19:28

Forum Jump:


Users browsing this thread: 1 Guest(s)