TextDraws disappear - 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: TextDraws disappear (
/showthread.php?tid=554547)
TextDraws disappear -
Jihanz - 04.01.2015
HELP MEPlease
TextDraw why I lost but I've set it up properly
please help us thank you ....
Re: TextDraws disappear -
Arxalan - 04.01.2015
Show me your code.
Re: TextDraws disappear -
Jihanz - 04.01.2015
Textdraw0 = TextDrawCreate(548.000000, 54.833248, "-");
TextDrawLetterSize(Textdraw0, 0.238995, 1.016664);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0xffffffff);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 1);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 3);
TextDrawSetProportional(Textdraw0, 1);
Re: TextDraws disappear -
Th3UnKnOwN - 04.01.2015
You need to make the script show the player your textdraw with the code I provided for you.
Код:
TextDrawShowForPlayer(playerid, Textdraw0);
if you have done that, it is because you used "-" for the message you want the Textdraw to show.
[EDIT]: If you want to show it when they spawn. Place the code under Public OnPlayerSpawn(playerid);
Re: TextDraws disappear -
Mariuszowski - 04.01.2015
You must add TextDrawShowForPlayer(playerid, Text:text) at the end.
Re: TextDraws disappear -
Jihanz - 04.01.2015
Ok thanks brothers
FOR HELP JIHANZ