TextDraw (+rep)
#1

Solved
Reply
#2

If you destroy a textdraw and create it again it is at the highest layer

But why do you even destroy it ?, you just need to change the box size (TextDrawTextSize) and show it again to update it (just call TextDrawShowForPlayer afterwards)
Reply
#3

why destroying the textdraw?

just update it with TextDrawSetString/PlayerTextDrawSetString.

then just re-show it with TextDrawShowForPlayer/PlayerTextDrawShow.
Reply
#4

i have already that function putted and not working again :/
Reply
#5

show us your code please.
Reply
#6

Code From ?
Reply
#7

the code from the problem ofcourse.

show us what you do when it updates it, does it destroy it, does it re-create it, does it set a different string, what does it do?

we can't really help you if you don't show us your code, because you say it doesn't work, let us take a look at it so we can determine what is wrong.
Reply
#8

i update him with UpdateProgressBar(barid, playerid);
Reply
#9

Solved
Reply
#10

Adding "solve" does not help other users to solve this too..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)