TextDraw Problem
#1

I did my mode TextDraw after a while does not appear on the server. What is the reason?
Reply
#2

Please, help me.
Reply
#3

Show us code so we can help you!
Reply
#4

pawn Код:
new Text:hp[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
hp[playerid] = TextDrawCreate(564.000000, 66.000000, "%100");
TextDrawBackgroundColor(hp[playerid], 255);
TextDrawFont(hp[playerid], 1);
TextDrawLetterSize(hp[playerid], 0.260000, 0.899999);
TextDrawColor(hp[playerid], -1);
TextDrawSetOutline(hp[playerid], 0);
TextDrawSetProportional(hp[playerid], 1);
TextDrawSetShadow(hp[playerid], 1);
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
TextDrawDestroy(playerid,hp[playerid]);
return 1;
}
Reply
#5

Can you describe more about your problem? Are you trying to set a textdraw with your server mode? When does it disappear?
Reply
#6

There are a few TextDraw. Disappear after a while.
Reply
#7

Are they player textdraws or global?
Reply
#8

Some player textdraws, some global...
Reply
#9

Can you describe briefly when the textdraws disappear and which types of textdraws encounter this issue?
Reply
#10

TextDrawShowForPlayer.. or TextDrawShowForAll?

Where do you use those functions?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)