19.07.2012, 22:48
I am trying to get it to say:
Player 1 has killed Player 2 (Weapon: Deagle)(HP: 125) // TO ADD THE HP + ARMOUR TOGETHER TO GET 1 NUMBER
Player 1 has killed Player 2 (Weapon: Deagle)(HP: 125) // TO ADD THE HP + ARMOUR TOGETHER TO GET 1 NUMBER
pawn Код:
GetWeaponName(reason,gunname,sizeof(gunname));
GetPlayerName(playerid,fName,MAX_PLAYER_NAME);
GetPlayerName(killerid,sName,MAX_PLAYER_NAME);
format(string, sizeof(string), "** %s has killed %s (Weapon: %s)(HP: %0.f).", sName, fName, gunname, khp+kar);
SendClientMessageToAll(TEAM_AWAY_COLOR,string);