06.04.2011, 02:41
Initialise your variable first.
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).
pawn Code:
new Text:yourtextdraw = Text:INVALID_TEXT_DRAW;
public OnGameModeInit()
{
yourtextdraw = TextDrawCreate(...);
//Some more
return 1;
}
You'd better set the variable to Text:INVALID_TEXT_DRAW again after deleting it(especially when you will recreate it).