08.01.2013, 21:58
(
Последний раз редактировалось DarkPower; 08.01.2013 в 22:27.
Причина: Solved!
)
pawn Код:
new
PlayerText: con;
public OnPlayerConnect(playerid)
{
con = CreatePlayerTextDraw(playerid, 21.000000, 159.000000, "_");
PlayerTextDrawBackgroundColor(playerid, con, 255);
PlayerTextDrawFont(playerid, con, TEXT_DRAW_FONT_MODEL_PREVIEW);
PlayerTextDrawSetPreviewModel(playerid, con, 520);
PlayerTextDrawSetPreviewRot(playerid, con, -10.0, 0.0, -20.0, 1.0);
PlayerTextDrawLetterSize(playerid, con, 0.500000, 14.000000);
PlayerTextDrawColor(playerid, con, -1);
PlayerTextDrawSetOutline(playerid, con, 0);
PlayerTextDrawSetProportional(playerid, con, 1);
PlayerTextDrawSetShadow(playerid, con, 1);
PlayerTextDrawUseBox(playerid, con, 1);
PlayerTextDrawBoxColor(playerid, con, 80);
PlayerTextDrawTextSize(playerid, con, 210.000000, 0.000000);
PlayerTextDrawShow(playerid, con);
return (true);
}
BUT! When i comment preview model functions i see this...
/imageshack/img59/525...540b90aac5.png
This is code when i comment new functions
pawn Код:
con = CreatePlayerTextDraw(playerid, 21.000000, 159.000000, "_");
PlayerTextDrawBackgroundColor(playerid, con, 255);
PlayerTextDrawFont(playerid, con, 1);
/*PlayerTextDrawSetPreviewModel(playerid, con, 520);
PlayerTextDrawSetPreviewRot(playerid, con, -10.0, 0.0, -20.0, 1.0);*/
PlayerTextDrawLetterSize(playerid, con, 0.500000, 14.000000);
PlayerTextDrawColor(playerid, con, -1);
PlayerTextDrawSetOutline(playerid, con, 0);
PlayerTextDrawSetProportional(playerid, con, 1);
PlayerTextDrawSetShadow(playerid, con, 1);
PlayerTextDrawUseBox(playerid, con, 1);
PlayerTextDrawBoxColor(playerid, con, 80);
PlayerTextDrawTextSize(playerid, con, 210.000000, 0.000000);
PlayerTextDrawShow(playerid, con);
pawn Код:
PlayerTextDrawTextSize(playerid, con, 210.000000, 0.000000);
Lock please, and srry...