Text error hide
#1

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);

Reply
#2

help my
Reply
#3

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

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?
Reply
#5

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)
Reply
#6

Код:
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)