05.04.2013, 18:27
You need to this as well!
Code:
new bool:CloseTextDraw[MAX_PLAYERS]; public OnPlayerClickTextDraw(playerid, Text:clickedid) { // Close code if(Text:INVALID_TEXT_DRAW == clickedid) { if(!CloseTextDraw[playerid]) SelectTextDraw(playerid, 0x00FF00FF); else { HideTextDraws(playerid); CloseTextDraw[playerid] = false; } } // Close Click you can remove this if(Text:Close_Click == clickedid) { // These two lines will close the textdraw put them where you need them in your script! CloseTextDraw[playerid] = true; CancelSelectTextDraw(playerid); } }