05.04.2013, 16:26
Really easy to fix do something like this....
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 if(Text:Close_Click == clickedid) { CloseTextDraw[playerid] = true; CancelSelectTextDraw(playerid); } HideTextDraws(playerid) { TextDrawHideForPlayer(playerid, MyDraw); } }