TextDraws - Question
#1

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

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.
Reply
#3

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()]
Reply
#4

Thx, I used this each player thing for a while and today I just asked maybe I can use one TD^^, so thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)