11.04.2013, 17:29
You will have to play with the Letter and Text size, even I had problems so I extracted this from a script made for 0.3x features:
EDIT:
I went through your code. You must have this TEXT_DRAW_FONT_MODEL_PREVIEW for the Font
Like:
pawn Код:
prevtd = CreatePlayerTextDraw(playerid, 20, 142.000000, "_");
PlayerTextDrawAlignment(playerid, prevtd, 2);
PlayerTextDrawBackgroundColor(playerid, prevtd, 0x00000000);
PlayerTextDrawFont(playerid, prevtd, TEXT_DRAW_FONT_MODEL_PREVIEW);
PlayerTextDrawLetterSize(playerid, prevtd, 0.360000, 17.000000);
PlayerTextDrawColor(playerid, prevtd, -1);
PlayerTextDrawSetOutline(playerid, prevtd, 0);
PlayerTextDrawSetProportional(playerid, prevtd, 1);
PlayerTextDrawSetShadow(playerid, prevtd, 1);
PlayerTextDrawUseBox(playerid, prevtd, 1);
PlayerTextDrawBoxColor(playerid, prevtd, 0x00000000);
PlayerTextDrawTextSize(playerid, prevtd, 170.000000, 170.000000);
PlayerTextDrawSetPreviewModel(playerid, prevtd, 287);
I went through your code. You must have this TEXT_DRAW_FONT_MODEL_PREVIEW for the Font
Like:
pawn Код:
PlayerTextDrawFont(playerid, prevtd, TEXT_DRAW_FONT_MODEL_PREVIEW);