SA-MP Forums Archive
PreviewModel textdraw problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PreviewModel textdraw problem (/showthread.php?tid=458181)



PreviewModel textdraw problem - Gennum. - 15.08.2013

Код:
 	textdraw2 = TextDrawCreate(365.0, 150.0, "_");
	TextDrawFont(textdraw2, TEXT_DRAW_FONT_MODEL_PREVIEW);
	TextDrawUseBox(textdraw2, 1);
 	TextDrawBackgroundColor(textdraw2, 0xFFFFFF55);
	TextDrawTextSize(textdraw, 110.0, 104.0);
	TextDrawSetPreviewModel(textdraw2, 560);
	TextDrawSetPreviewRot(textdraw, -22.0, -12.0, 155.0, 1.0);
Picture

http://sizmedia.com/my.php?i=dfmz2yhxii3z.png



Re: PreviewModel textdraw problem - Misiur - 15.08.2013

You are mixing textdraw and textdraw2.

pawn Код:
TextDrawTextSize(textdraw, 110.0, 104.0); //here
TextDrawSetPreviewRot(textdraw, -22.0, -12.0, 155.0, 1.0); //and here



Re: PreviewModel textdraw problem - Gennum. - 15.08.2013

Ohh I'm idiot :P, I thank you.