[Ajuda] TextDraw
#8

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
pawn Код:
new
    PlayerText3D: mostrarDano;
   

public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid) {

    static string[32];
   
    format(string, sizeof(string), "{32CD32}-{FF0000}%.0f", amount);
    mostrarDano = CreatePlayer3DTextLabel(playerid, string, -1, 30.0, 40.0, 50.0, 40.0, 0, 0);
   
    SetTimerEx("sumirDano", 3000, 0, "i", playerid);
    return 1;
}


sumirDano(playerid); public sumirDano(playerid) {

    return DeletePlayer3DTextLabel(playerid, mostrarDano);
}
Compilou direito, mais nгo aparece nada em cima do player. nгo aparece o Life que perdeu. Nгo aparece nada !

Up aff
Reply


Messages In This Thread
TextDraw - by Lucas-Fc - 04.10.2012, 00:34
Re: TextDraw - by Lucas-Fc - 04.10.2012, 00:40
Re: TextDraw - by Lucas-Fc - 04.10.2012, 00:48
Re: TextDraw - by FenixBorn - 04.10.2012, 02:00
Re: TextDraw - by ViniBorn - 04.10.2012, 02:04
Re: TextDraw - by Jason` - 04.10.2012, 03:19
Re: TextDraw - by Lucas-Fc - 04.10.2012, 11:58
Re: TextDraw - by Lucas-Fc - 04.10.2012, 12:30
Re: TextDraw - by Lucas-Fc - 04.10.2012, 12:42
Re: TextDraw - by Waldrey - 04.10.2012, 12:43

Forum Jump:


Users browsing this thread: 2 Guest(s)