[AJUDA]Text Draw
#1

Tipo Galera O TextDraw Velocimetro Estб Bugando Com o Relogio :S


Velocimetro :

pawn Код:
OnPlayerConnected(playerid)
{
    Velo[playerid] = TextDrawCreate(60.000000,323.000000,"KM");
    TextDrawColor(Velo[playerid],verde);
    TextDrawSetOutline(Velo[playerid],1);
    TextDrawBackgroundColor(Velo[playerid],0x000000FF);
    TextDrawFont(Velo[playerid],2);
        return 1;
}
Atualizador:
pawn Код:
OnPlayerUpdate(playerid)
{
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    format(veloc, sizeof(veloc),"KM/H:%02d",GetPlayerSpeed(playerid));
    TextDrawSetString(Velo[playerid],veloc);
    }
       return 1;
}
Relogio:
pawn Код:
GameModeInit()
{
    Relogio = TextDrawCreate(605.0,25.0,"HRS");
    TextDrawFont(Relogio, 3);
    TextDrawSetOutline(Relogio,1);
    TextDrawBackgroundColor(Relogio,0x000000FF);
    TextDrawColor(Relogio,verde);
    TextDrawAlignment(Relogio,3);
    TextDrawLetterSize(Relogio,0.5,1.5);
и Fica Bugando print:


Reply


Messages In This Thread
[AJUDA]Text Draw - by ReDKiiL - 15.11.2011, 19:52
Re: [AJUDA]Text Draw - by Pharrel - 15.11.2011, 22:25
Re: [AJUDA]Text Draw - by ReDKiiL - 15.11.2011, 22:39
Re: [AJUDA]Text Draw - by ReDKiiL - 16.11.2011, 16:50
Re: [AJUDA]Text Draw - by Miqueias Barros - 16.11.2011, 16:57
Re: [AJUDA]Text Draw - by ReDKiiL - 16.11.2011, 17:07

Forum Jump:


Users browsing this thread: 2 Guest(s)