20.08.2014, 20:48
Hey,
i'm using clickable textdraw and i've got a problem.
In OnPlayerClickTextDraw i've wrote:
First, it wrote alot of times "#1" in the console,
In first time to use it work great,
Second time i've trying to use any clicked textdraw, PLAYER / GLOBAL, it's just not work. Like automatically it's INVALID_TEXT_DRAW.
HELP?
i'm using clickable textdraw and i've got a problem.
In OnPlayerClickTextDraw i've wrote:
Код:
if(clickedid == Text:INVALID_TEXT_DRAW) { printf("#1"); CancelSelectTextDraw(playerid); for(new i, j = MAX_PLAYER_SHOP_TD; i < j; i++) PlayerTextDrawHide(playerid, SHOP_TD[playerid][i]); for(new i = 11; i <= 15; i++) TextDrawHideForPlayer(playerid, GLOBAL_TD[i]); }
In first time to use it work great,
Second time i've trying to use any clicked textdraw, PLAYER / GLOBAL, it's just not work. Like automatically it's INVALID_TEXT_DRAW.
HELP?