Textdraw bug occurrence
#1

"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.
Reply
#2

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.
Reply
#3

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.
Reply
#4

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

Ye sometimes, issues with their id's etc.
Reply
#6

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.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)