[AJUDA]Rapida aki Please Com TextDraw .-.
#7

tenta assim:

pawn Код:
forward OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid);
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
    new str[50];
    format(str, sizeof str, "DAMAGE - %i",amount);
    DAMAGEa = TextDrawCreate(171.000000, 388.000000, str);
    TextDrawAlignment(DAMAGEa, 2);
    TextDrawBackgroundColor(DAMAGEa, 255);
    TextDrawFont(DAMAGEa, 2);
    TextDrawLetterSize(DAMAGEa, 0.160000, 0.599999);
    TextDrawColor(DAMAGEa, 16711935);
    TextDrawSetOutline(DAMAGEa, 1);
    TextDrawSetProportional(DAMAGEa, 1);
    foreach (new i : Player)
    {
        TextDrawShowForPlayer(i, DAMAGEa);
     }
    SetTimer("DestruirTextoDraw",1000, false);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)