08.03.2011, 11:42
use strings then
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128],killed[MAX_PLAYER_NAME],killer[MAX_PLAYER_NAME];
GetPlayerName(playerid,killed,sizeof(killed));
GetPlayerName(killerid,killer,sizeof(killer));
format(string,sizeof(string),"%s has been killed by %s",killed,killer);
SendClientMessage(playerid,0xAA3333AA,string);
return 1;
}