Player killed by player [HELP] +REP
#2

Hello!

You can use the function GetWeaponName:
PHP код:
new gunname[32],string[145],fName[MAX_PLAYER_NAME],sName[MAX_PLAYER_NAME];
GetWeaponName(reason,gunname,sizeof gunname);
GetPlayerName(playerid,fName,MAX_PLAYER_NAME);
GetPlayerName(killerid,sName,MAX_PLAYER_NAME);
format(string,sizeof string,"player %s has been killed by player %s with %s",fName,sName,gunname);
SendClientMessageToAll(-1,string); 
Mencent
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)