TextDraw shifts to the right (PreviewModel)
#1

Sorry for my bad English, I will try to speak it

Problem: when using TextDrawSetPreviewModel, TextDraw shifts to the right

When created:
http://i.imgur.com/5T19M2d.png
Using TextDrawSetPreviewModel:
http://i.imgur.com/s4chzJI.png
(Picture too large)

What could be the problem?

Code one of TextDraw:
Код:
	TextDrawSelection[15] = TextDrawCreate(182.000213, 166.264404, "usebox");
	TextDrawTextSize(TextDrawSelection[15], 88.000015, 102.542236);
	TextDrawUseBox(TextDrawSelection[15], true);
	TextDrawBoxColor(TextDrawSelection[15], 102);
	TextDrawFont(TextDrawSelection[15], 5);
	TextDrawBackgroundColor(TextDrawSelection[15], 0xFFFFFF33);
	TextDrawSetSelectable(TextDrawSelection[15], true);
Reply
#2

Show the code when you show the TextDraw.
Reply
#3

Quote:
Originally Posted by alanhutch
Посмотреть сообщение
Show the code when you show the TextDraw.
Код:
TextDrawSetPreviewModel(TextDrawSelection[15], 1);
TextDrawShowForPlayer(playerid, TextDrawSelection[15]);
Reply
#4

The problem is relevant
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)