SA-MP Forums Archive
Textdraw bug occurrence - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Textdraw bug occurrence (/showthread.php?tid=334589)



Textdraw bug occurrence - iPLEOMAX - 15.04.2012

"How many times do you get into trouble with the textdraws?"
Any kind of trouble, either flickering, randomly disappearing, unnecessary string changes or any such thing.

Just a survey, I need to know this for some reason.


Re: Textdraw bug occurrence - Hiddos - 15.04.2012

I don't always use textdraws, but when I do I usually encounter some problems.

Working with textdraws on a regular basis prevents you from making much mistakes and teaches you how to solve your problems a lot though.


Re: Textdraw bug occurrence - WooTFTW - 15.04.2012

If you create and destroy textdraws right, there will be no problems.
When I started working with textdraws, I had problems like flickering, etc.. And I discovered that it was caused by destroying textdraws which are not created. I have my own method to prevent this.


Re: Textdraw bug occurrence - Finn - 15.04.2012

I haven't had any troubles with them in years.


Re: Textdraw bug occurrence - Michael@Belgium - 15.04.2012

Ye sometimes, issues with their id's etc.


Re: Textdraw bug occurrence - Lorenc_ - 17.04.2012

You must assign each textdraw you make with INVALID_TEXT_DRAW..

pawn Код:
new Text: MY_TEXTDRAW = Text: INVALID_TEXT_DRAW;
new Text: PLAYER_TEXTDRAW[ MAX_PLAYERS ] = { Text: INVALID_TEXT_DRAW, ... };
Never got a single textdraw bug.


Re: Textdraw bug occurrence - iPLEOMAX - 17.04.2012

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
You must assign each textdraw you make with INVALID_TEXT_DRAW..

pawn Код:
new Text: MY_TEXTDRAW = Text: INVALID_TEXT_DRAW;
new Text: PLAYER_TEXTDRAW[ MAX_PLAYERS ] = { Text: INVALID_TEXT_DRAW, ... };
Never got a single textdraw bug.
Useful info. Anyway, I used to have many troubles before.. not anymore.

I wanted to know this because I'm working on many user friendly textdraw related stuff.
And whether it's necessary for me to change the way creation/deletion etc works.