Here is my code i have no errors but In game I do the command and its in the wrong position
Код:
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);
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.
Yes, Zamaroth's TD Editor is the best in my opinion, really easy to use, even for newbies!