TextDraws - Question - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TextDraws - Question (
/showthread.php?tid=166715)
TextDraws - Question -
ikey07 - 09.08.2010
Hi there,
I need to know one thing about TextDraws, but Im not able to test it by self atm.
I have made like /mdc with text draw, but if someone type /mdc in same moment
its TextDrawSetString(... for each player who type his cmd
does I see TextDraw what I get or I also get new String?
Re: TextDraws - Question -
Hiddos - 09.08.2010
Text draw strings update automatically, instead of needing to do HideTextdraw & ShowTextdraw it automatically changes the string. You need different textdraws for each player, case you want to show different strings.
Re: TextDraws - Question -
[HUN]Jaki - 09.08.2010
I don't understand the question, but I think I know what do you mean.
If you TextDrawSetString(), everybody will see the new string, who can see the textdraw.
If you want to show the message only for one player, you have to use as many textdraws, as they are online.
(new TextDrawOfPlayer[GetMaxPlayers()]
Re: TextDraws - Question -
ikey07 - 09.08.2010
Thx, I used this each player thing for a while and today I just asked maybe I can use one TD^^, so thank you