15.06.2012, 15:18
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128],Kpname[MAX_PLAYER_NAME],Dpname[MAX_PLAYER_NAME];
if(IsInX1[killerid] == true && IsInX1[playerid] == true)
{
GetPlayerName(playerid, Dpname, sizeof(Dpname));
GetPlayerName(killerid, Kpname, sizeof(Kpname));
format(string,sizeof(string),"%s Matou %s no X1w",Kpname,Dpname);
SendClientMessageToAll(-1,string);
IsInX1[playerid] = false;
IsInX1[killerid] = false;
}
return 1;
}