Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
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)
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
why destroying the textdraw?
just update it with TextDrawSetString/PlayerTextDrawSetString.
then just re-show it with TextDrawShowForPlayer/PlayerTextDrawShow.
Posts: 386
Threads: 84
Joined: Feb 2013
Reputation:
0
i have already that function putted and not working again :/
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
show us your code please.
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
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.
Posts: 386
Threads: 84
Joined: Feb 2013
Reputation:
0
i update him with UpdateProgressBar(barid, playerid);
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
Adding "solve" does not help other users to solve this too..