pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
new string[10];
format(string, sizeof(string), "~r~%.2f", amount);
GameTextForPlayer(damagedid, string, 1000, 3);
format(string, sizeof(string), "~g~%.2f", amount);
GameTextForPlayer(playerid, string, 1000, 3);
}
return 1;
}