03.01.2014, 22:01
Let's say I have the next lines of code:
This will print me this: /imageshack/img836/4196/7862.png
But if i will do this:
Will print me this: /imageshack/img20/7548/py8c.png
WTF?
pawn Код:
textdraw = TextDrawCreate(377.0, 306.6, "none");
TextDrawFont(textdraw, TEXT_DRAW_FONT_MODEL_PREVIEW); //
TextDrawUseBox(textdraw, 1);
TextDrawBackgroundColor(textdraw, 0x00000022);
TextDrawColor(textdraw, 0x00FF0066);
TextDrawBoxColor(textdraw, 0x00000000);
TextDrawTextSize(textdraw, 87.0, 85.9);
TextDrawSetPreviewModel(textdraw, 3785);
TextDrawSetPreviewRot(textdraw, 0.0, 0.0, 0.0, 1.00);
TextDrawShowForPlayer(playerid, textdraw);
But if i will do this:
pawn Код:
SetPlayerAttachedObject(playerid, 0, 3785, 2, 0.198760, 0.011063, 0.015576, 346.929992, 355.553253, 0.000000, 1.000000, 1.000000, 1.000000 );
textdraw = TextDrawCreate(377.0, 306.6, "none");
TextDrawFont(textdraw, TEXT_DRAW_FONT_MODEL_PREVIEW); //
TextDrawUseBox(textdraw, 1);
TextDrawBackgroundColor(textdraw, 0x00000022);
TextDrawColor(textdraw, 0x00FF0066);
TextDrawBoxColor(textdraw, 0x00000000);
TextDrawTextSize(textdraw, 87.0, 85.9);
TextDrawSetPreviewModel(textdraw, 3785);
TextDrawSetPreviewRot(textdraw, 0.0, 0.0, 0.0, 1.00);
TextDrawShowForPlayer(playerid, textdraw);
WTF?