07.11.2015, 08:16
PHP код:
new gunname[32], msg[64], 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(msg, sizeof(msg), "[Kill]%s killed Player %s and earned $500 -[ %s ]", sName, fName,gunname);
SendClientMessageToAll(C_YELLOW,msg);