SA-MP Forums Archive
showing wrong/wrong string TextDraws - 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: showing wrong/wrong string TextDraws (/showthread.php?tid=229762)



showing wrong/wrong string TextDraws - Voldemort - 22.02.2011

So the thing is, all textdraws in my script started to not showing or showing but wrong one, or just one textdraw shows other textdraw string.

Ofcourse all per player TDs I destroy on player disconnect.

Its happens after some while of runing, at start I was think I just dont destroy some and its reach TDs limit, but its not, than I was think I just show wrong TDs by self, checked everything accurate, nothing.

But most strangest thing is that few TDs, by using TextDrawSetString update string to wrong TD and shows up as some other, like I have TDs like in SP, White texts in bottom of screen and Textbox like help steps in SP, but sometimes they both show each other string or even shows some text what should need to be showed to other player.

any advice


Re: showing wrong/wrong string TextDraws - Stigg - 22.02.2011

Are some of your textdraws in other scripts by any chance ? I had the same sort of problem, it was down to one of my TD's in another script.

Peace...


Re: showing wrong/wrong string TextDraws - Voldemort - 22.02.2011

Well I have FS, but there I just call function to update textdraw, so only in main Gamemode I create TDs
pawn Код:
CallRemoteFunction("SFT", "is",playerid,"Lift is already called to this floor.");



Re: showing wrong/wrong string TextDraws - Stigg - 22.02.2011

I just thought that sounds like a problem i had. I moved the TD and it sorted it.
Sozz, just a thought.

Peace...


Re: showing wrong/wrong string TextDraws - Voldemort - 22.02.2011

Bump, any other ideas?


Re: showing wrong/wrong string TextDraws - Zh3r0 - 22.02.2011

The ID's somehow got messed up, try and re-arrange the way they got created.
It is actually important, i solved some of my textdraw bugs like this.