public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(damagedid != INVALID_PLAYER_ID)
{
new string[25];
format(string, sizeof(string), "~g~-~r~%.0f", amount), GameTextForPlayer(playerid, string, 3000, 3), GameTextForPlayer(damagedid, string, 3000, 3);
}
return 1;
}
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(damagedid != INVALID_PLAYER_ID)
{
weaponid = TextDrawCreate(320,380,"-%.0f");
damagedid = TextDrawCreat(320,390,"%s");
playerid = TextDrawCreat(320,400,"%s");
TextDrawColor(0x00FF04FF);
TextDrawLetterSize(0.5,1.5);
TextDrawFont(1,fontstyle);
PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
}
return 1;
}