SA-MP Forums Archive
TextDraw Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: TextDraw Problem (/showthread.php?tid=567699)



TextDraw Problem - SpRaVCe - 15.03.2015

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


Re: TextDraw Problem - SpRaVCe - 16.03.2015

Please, help me.


Re: TextDraw Problem - Alex Magaсa - 16.03.2015

Show us code so we can help you!


Re: TextDraw Problem - SpRaVCe - 16.03.2015

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



Re: TextDraw Problem - Michael B - 16.03.2015

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


Re: TextDraw Problem - SpRaVCe - 16.03.2015

There are a few TextDraw. Disappear after a while.


Re: TextDraw Problem - Michael B - 16.03.2015

Are they player textdraws or global?


Re: TextDraw Problem - SpRaVCe - 16.03.2015

Some player textdraws, some global...


Re: TextDraw Problem - Michael B - 16.03.2015

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


Re: TextDraw Problem - CrossOv3r - 16.03.2015

TextDrawShowForPlayer.. or TextDrawShowForAll?

Where do you use those functions?