08.02.2014, 20:38
Before you use TextDrawCreatecheck if the variable you're using is not an invalid_text_Draw, for example
This will destroy any textdraw that was stored at TextDraw1 (which should not happen). If you set the script correctly then there should be no problems (Such as creating the textdraws only once, destroying them only once, etcetera..)
Also when you destroy the Textdraws:
Note: It also works with player Textdraws, use the PlayerText label before INVALID_TEXT_DRAW
pawn Code:
if(TextDraw1 != Text:INVALID_TEXT_DRAW)
TextDrawDestroy(Textdraw1);
TextDraw1 = TextDrawCreate(...)
Also when you destroy the Textdraws:
pawn Code:
TextDrawDestroy(Textdraw1);
TextDraw1 = Text:INVALID_TEXT_DRAW;

