Posts: 1,047
Threads: 23
Joined: Jun 2009
it's a sa-mp bug (I've had this too? in my FXDM3), sometimes TD's get messy, don't format right etc... There are not really 100% good ways to help avoid this problem but maybe you could less destroy/create , and pre-create if possible.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
All textdraws have to be initialized with INVALID_TEXT_DRAW when created, or they might mix up. As you probably know, I used a lot of textdraws in my gamemode as well, and they never mix up.
Posts: 1,047
Threads: 23
Joined: Jun 2009
Quote:
Originally Posted by Lorenc_
Do you use enums for textdraws?
Add a value of "0xFFFF" (INVALID_TEXT_DRAW) before having your textdraw made.
pawn Код:
new Text: g_TD = Text: INVALID_TEXT_DRAW;
|
didn't know there was a fix for it ;o
but.. can any1 explain why it needs to be initialised in such way? :S
Posts: 1,047
Threads: 23
Joined: Jun 2009
Quote:
Originally Posted by Lorenc_
So it contains a value lol?
|
Um all initialised variables in pawn have a default initialisation to 0 or does it not count for tags (Float: Text: Text3d: Menu
![Smiley](images/smilies/smile.png)
?