26.08.2015, 19:49
I have problem with onplayerclicktextdraw callback. I have code
If i click on that textdraw then for some reason
And if [code]And if i click on textdraw MDC[playerid][4] then
Код:
else if(clickedid == MDC[playerid][3])
Код:
clickedid = TDEditor_TD[playerid][5]
Код:
clickedid = TDEditor_TD[playerid][6]
Код:
if(_:clickedid != INVALID_TEXT_DRAW){
if(clickedid == TDEditor_TD[playerid][6]) {
PlayerSpawn(playerid);
CancelSelectTextDraw(playerid);}
else if(clickedid == TDEditor_TD[playerid][5]) {
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "LOG IN", "Insert your password", ">>", "Back");
CancelSelectTextDraw(playerid);}
else if(clickedid == MDC[playerid][3]){
SCM(playerid, -1, "DEBUG");}
else if(clickedid == MDC[playerid][4]){
SCM(playerid, -1, "DEBUG");}
}

