TextDraw (+rep) - 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: TextDraw (+rep) (
/showthread.php?tid=496471)
TextDraw (+rep) -
ScripteRMKD - 22.02.2014
Solved
AW: TextDraw (+rep) -
Nero_3D - 22.02.2014
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)
Re: TextDraw (+rep) -
Smileys - 22.02.2014
why destroying the textdraw?
just update it with TextDrawSetString/PlayerTextDrawSetString.
then just re-show it with TextDrawShowForPlayer/PlayerTextDrawShow.
Re: TextDraw (+rep) -
ScripteRMKD - 22.02.2014
i have already that function putted and not working again :/
Re: TextDraw (+rep) -
Smileys - 22.02.2014
show us your code please.
Re: TextDraw (+rep) -
ScripteRMKD - 22.02.2014
Code From ?
Re: TextDraw (+rep) -
Smileys - 22.02.2014
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.
Re: TextDraw (+rep) -
ScripteRMKD - 22.02.2014
i update him with UpdateProgressBar(barid, playerid);
Re: TextDraw (+rep) -
ScripteRMKD - 23.02.2014
Solved
Re: TextDraw (+rep) -
iJumbo - 23.02.2014
Adding "solve" does not help other users to solve this too..