03.10.2012, 21:15
Caso o cуdigo do amigo Riichard nгo funcione, eu fiz um aqui mais nгo tenho certeza se irб funcionar tambйm sou novato mais ta ai...
Nгo custa tenta nй?
Nгo custa tenta nй?
pawn Код:
forward OnPlayerGiveDamage(playerid,damagedid, Float: amount, weaponid);
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(damagedid != INVALID_PLAYER_ID)
{
new string[50];
format(string, sizeof(string), "~g~-~r~%.0f", amount);
SetPlayerChatBubble(playerid, string, 0xFFFDE8AA, 100.0, 10000);
}
return 1;
}