Player killed by player [HELP] +REP
#3

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new gunname[32],string[128],Name[MAX_PLAYER_NAME],kName[MAX_PLAYER_NAME];
    GetWeaponName(reason,gunname,sizeof gunname);
    GetPlayerName(playerid,Name,MAX_PLAYER_NAME);
    GetPlayerName(killerid,kName,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s has been killed by player %s with %s",Name,kName,gunname);
    SendClientMessageToAll(-1,string);  
    return 1;
}
Reply


Messages In This Thread
Player killed by player [HELP] +REP - by Chausar - 12.04.2015, 09:52
AW: Player killed by player [HELP] +REP - by Mencent - 12.04.2015, 10:12
Re: Player killed by player [HELP] +REP - by R0 - 12.04.2015, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)