Preview textdraw
#1

Here is my code i have no errors but In game I do the command and its in the wrong position

here is a picture http://prntscr.com/2nuewn

Can anyone help?

Код:
        Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 139.500000, 3.250000, "usebox");
   	PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.000000, 10.118519);
	PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 100, 100);
	PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
	PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
	PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
	PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 0x000000FF);
	PlayerTextDrawFont(playerid, Textdraw0[playerid],TEXT_DRAW_FONT_MODEL_PREVIEW);
	PlayerTextDrawSetSelectable(playerid, Textdraw0[playerid], true);
	PlayerTextDrawSetPreviewModel(playerid, Textdraw0[playerid], 404);
	PlayerTextDrawSetPreviewVehCol(playerid, Textdraw0[playerid], 128, 128);
	PlayerTextDrawSetPreviewRot(playerid, Textdraw0[playerid], -10.0, 0.0, -20.0, 1.0);
	PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], COLOR_BLACK);
Reply
#2

Well, about the coord of the TextDraw, i would suggest you to use Zamaroht's TextDraw editor. It will give you a perfect position. There are other too but this one is my suggestion.
Reply
#3

Yes, Zamaroth's TD Editor is the best in my opinion, really easy to use, even for newbies!
Reply
#4

Alright guys ill try it
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)