pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount,
weaponid)
{
if (damagedid != INVALID_PLAYER_ID)
{
new string[20];
format(string, sizeof(string), "~g~-~r~%.0f", amount);
GameTextForPlayer(playerid, string, 1000, 6);
GameTextForPlayer(damagedid, string, 1000, 5);
PlayerPlaySound(damagedid, 17802, 0.0, 0.0, 0.0);
}
return 1;
}
Sу isso .