SA-MP Forums Archive
[Ajuda] Problema com TextDrawSetPreviewModel - 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] Problema com TextDrawSetPreviewModel (/showthread.php?tid=521061)



Problema com TextDrawSetPreviewModel - Stronda xD - 21.06.2014

Bom, basicamente ao tentar tornar a textdraw visivel, meu gta crasha, cуdigo:
pawn Код:
Textdraw4 = TextDrawCreate(119.000000, 244.000000, "_");
    TextDrawBackgroundColor(Textdraw4, 255);
    TextDrawFont(Textdraw4, TEXT_DRAW_FONT_MODEL_PREVIEW);
    TextDrawColor(Textdraw4, -1);
    TextDrawSetPreviewModel(Textdraw4, 23);
    TextDrawSetSelectable(Textdraw4, 0);
isso sу acontece se eu tento colocar uma skin na text, eu uso ela para objetos e nunca aconteceu atй hoje


Re: Problema com TextDrawSetPreviewModel - SpeakDS - 21.06.2014

Tente:
pawn Код:
new Text:textdraw4;
 
public OnGameModeInit()
{
    textdraw4 = TextDrawCreate(119.0, 244.0, "_");
        TextDrawBackgroundColor(Textdraw4, 255)
    TextDrawFont(textdraw4, TEXT_DRAW_FONT_MODEL_PREVIEW);
    TextDrawColor(Textdraw4, -1)
    TextDrawSetPreviewModel(textdraw4, 23);
    TextDrawSetSelectable(Textdraw4, 0);
   
    return 1;
}



Re: Problema com TextDrawSetPreviewModel - PT - 21.06.2014

como e que vc esta a setar a skin nela?