SA-MP Forums Archive
[Ajuda] TextDraw Hud: - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TextDraw Hud: (/showthread.php?tid=477677)



TextDraw Hud: - mau.tito - 25.11.2013

Seguinte galera to tentando fazer essa textdraw funfar mas nao to conseguindo , na vez de aparecer o desenho aparece a escrita !

pawn Код:
TextDrawInfo[playerid][FomeText] = TextDrawCreate(505.000000, 386.000000, "hud:radar_burgershot");
    TextDrawBackgroundColor(TextDrawInfo[playerid][FomeText], 255);
    TextDrawFont(TextDrawInfo[playerid][FomeText], 2);
    //TextDrawLetterSize(TextDrawInfo[playerid][FomeText], 0.430000, 1.400000);
    TextDrawColor(TextDrawInfo[playerid][FomeText], -1);
    TextDrawSetOutline(TextDrawInfo[playerid][FomeText], 0);
    TextDrawSetProportional(TextDrawInfo[playerid][FomeText], 1);
    TextDrawSetShadow(TextDrawInfo[playerid][FomeText], 1);
Agradeзo quem souber .

#edit nunca tinha tentado usar estas figurinhas do hud.


Re: TextDraw Hud: - focaximubh - 25.11.2013

pawn Код:
hud:radar_datefood
Acredito que seria o correto...

Com isso tenho ctz que vai funcionar.. ele й a imagem dos talheres: Garfo e Faca.


Re: TextDraw Hud: - mau.tito - 25.11.2013

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
pawn Код:
hud:radar_datefood
Acredito que seria o correto...

Com isso tenho ctz que vai funcionar.. ele й a imagem dos talheres: Garfo e Faca.
Eu quero o hamburguer , eu testei com este teu mas so aparece a escrita !


Re: TextDraw Hud: - focaximubh - 25.11.2013

pawn Код:
Textdraw0 = CreatePlayerTextDraw(playerid,560.000000, 400.000000, "hud:radar_datefood");
    PlayerTextDrawAlignment(playerid,Textdraw0, 2);
    PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
    PlayerTextDrawFont(playerid,Textdraw0, 4);
    PlayerTextDrawLetterSize(playerid,Textdraw0, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,Textdraw0, 16711935);
    PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
    PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
    PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
    PlayerTextDrawUseBox(playerid,Textdraw0, 1);
    PlayerTextDrawBoxColor(playerid,Textdraw0, 17);
    PlayerTextDrawTextSize(playerid,Textdraw0, 20.000000, 20.000000);
    PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
ai isso vai funcionar '-'


Re: TextDraw Hud: - mau.tito - 25.11.2013

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
pawn Код:
Textdraw0 = CreatePlayerTextDraw(playerid,560.000000, 400.000000, "hud:radar_datefood");
    PlayerTextDrawAlignment(playerid,Textdraw0, 2);
    PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
    PlayerTextDrawFont(playerid,Textdraw0, 4);
    PlayerTextDrawLetterSize(playerid,Textdraw0, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,Textdraw0, 16711935);
    PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
    PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
    PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
    PlayerTextDrawUseBox(playerid,Textdraw0, 1);
    PlayerTextDrawBoxColor(playerid,Textdraw0, 17);
    PlayerTextDrawTextSize(playerid,Textdraw0, 20.000000, 20.000000);
    PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
ai isso vai funcionar '-'
vlw vey so faltava o textsize !


#Arrumado!


Re: TextDraw Hud: - focaximubh - 25.11.2013

dboa esqueci que ela usa Size kk dai mandei tudo por via das dъvidas '-'