SA-MP Forums Archive
Text error hide - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Text error hide (/showthread.php?tid=658220)



Text error hide - sonn51280 - 27.08.2018

how to on Text 'SA-MP.CF' and to active code

https://uphinhnhanh.com/image/3Xn6UQ
Quote:

TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 579.000000, 400.000000, "SA-MP.CF");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], -11);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 3);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], -11);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][0], true);




Re: Text error hide - sonn51280 - 27.08.2018

help my


Re: Text error hide - solstice_ - 27.08.2018

I didn't understand a single word from this thread. Can you please try to explain better?


Re: Text error hide - sonn51280 - 27.08.2018

Quote:
Originally Posted by willbedie
Посмотреть сообщение
I didn't understand a single word from this thread. Can you please try to explain better?
y is me was copied TDEditor_PTD code to Gamemodel but the copy to it does not active text?


Re: Text error hide - Sew_Sumi - 27.08.2018

This should probably be a global textdraw, not a player one if it's always going to be shown, and shown for everyone. (This isn't a fix, more advice to change it later)


Re: Text error hide - UFF - 30.08.2018

Код:
new Text:TDEditor_PTD;

TDEditor_PTD = TextDrawCreate(579.000000, 400.000000, "SA-MP.CF");
TextDrawLetterSize(TDEditor_PTD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_PTD, 1);
TextDrawColor(TDEditor_PTD,  -1);
TextDrawSetShadow(TDEditor_PTD,  -11);
TextDrawSetOutline(TDEditor_PTD,  1);
TextDrawBackgroundColor(TDEditor_PTD,  255);
TextDrawFont(TDEditor_PTD,  3);
TextDrawSetProportional(TDEditor_PTD,  1);
TextDrawSetShadow(TDEditor_PTD,  -11);
TextDrawSetSelectable(TDEditor_PTD, true);
Use global textdraw.