Textdraw bug
#7

Initialise your variable first.
pawn Code:
new Text:yourtextdraw = Text:INVALID_TEXT_DRAW;

public OnGameModeInit()
{
    yourtextdraw = TextDrawCreate(...);
    //Some more
    return 1;
}
I got weird things when the variable is not initialised.
You'd better set the variable to Text:INVALID_TEXT_DRAW again after deleting it(especially when you will recreate it).
Reply


Messages In This Thread
Textdraw bug - by s1k - 31.03.2011, 18:40
Re: Textdraw bug - by Davz*|*Criss - 31.03.2011, 18:52
Re: Textdraw bug - by s1k - 31.03.2011, 18:57
Re: Textdraw bug - by Nexotronix - 31.03.2011, 19:16
Re: Textdraw bug - by s1k - 31.03.2011, 20:20
Re: Textdraw bug - by Donya - 06.04.2011, 00:32
Re: Textdraw bug - by leong124 - 06.04.2011, 02:41

Forum Jump:


Users browsing this thread: 1 Guest(s)