07.11.2012, 23:20
pawn Код:
new stringformat[200], nomeplayer1[MAX_PLAYER_NAME], nomeplayer2[MAX_PLAYER_NAME];
GetPlayerName(playerid, nomeplayer1, sizeof(nomeplayer1));
GetPlayerName(killerid, nomeplayer2, sizeof(nomeplayer2));
GameTextForPlayer(playerid,"~r~PERDEU PLAYBOY ~w~!!!",5000,5);
format(stringformat, sizeof(stringformat), "{FF0000}[KILL]{1CD622} %s {FF0000}matou{1CD622} %s {FF0000}Com a Arma{1CD622} %i !", nomeplayer2, nomeplayer1, GetWeaponNameEx(reason));
SendClientMessageToAll(-1, stringformat);
// Final
static stock GetWeaponNameEx(id)
{
static wepn[50];
GetWeaponName(id,weapn,sizeof weapn);
return wepn;
}