Porblem with textdraws. -
Nru - 24.04.2018
Alright so I created a textdraw that shows the skinID of a player in an Inventory but it appears flipped like that.
even if I try to set the Z Rotation to 180 that's what I get.
here's the code
Код:
TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 30.000000, 165.208389, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][6], 187.000000, 176.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][6], 29);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000, 180.000000, 1.000000);
Re: Porblem with textdraws. -
SkmDanny - 24.04.2018
PHP код:
TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 30.000000, 165.200000, "_");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][6], 187.000000, 176.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][6], 29);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000, 0.000000, 1.000000);
Re: Porblem with textdraws. -
Nru - 24.04.2018
Quote:
Originally Posted by SkmDanny
PHP код:
TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 30.000000, 165.200000, "_");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][6], 187.000000, 176.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][6], 29);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][6], 0.000000, 0.000000, 0.000000, 1.000000);
|
Already said, editing the Z Rotation to 0 gave me the first image.
Re: Porblem with textdraws. -
SkmDanny - 24.04.2018
Quote:
Originally Posted by Nru
Already said, editing the Z Rotation to 0 gave me the first image.
|
At me is working perfectly.
Re: Porblem with textdraws. -
Lokii - 24.04.2018
i think you create the textdraw twice or more
Re: Porblem with textdraws. -
SkmDanny - 24.04.2018
If you are using TDE, be careful when you minimise your game because this is creating duplicates of your selected textdraw.
Search in your filterscript, you 100% have the skin textdraw duplicated by 2 times.
Re: Porblem with textdraws. -
Nru - 24.04.2018
I'm pretty sure that it's created only once.