12.10.2015, 10:12
Try.
Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == Darbo_TD[playerid][6]) { CancelSelectTextDraw(playerid); for(new s = 0; s < 15; s++) TextDrawHideForPlayer(playerid, Darbo_TD[playerid][s]); SendClientMessage(playerid, -1, "Press button"); return 1; } else if(clickedid == Text:INVALID_TEXT_DRAW) { CancelSelectTextDraw(playerid); for(new s = 0; s < 15; s++) TextDrawHideForPlayer(playerid, Darbo_TD[playerid][s]); SendClientMessage(playerid, -1, "Press Esc"); return 1; } return 1; }