OnPlayerClickTextDraw bug
#1

I have problem with onplayerclicktextdraw callback. I have code
Код:
else if(clickedid == MDC[playerid][3])
If i click on that textdraw then for some reason
Код:
clickedid = TDEditor_TD[playerid][5]
And if [code]And if i click on textdraw MDC[playerid][4] then
Код:
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");}

}
Reply


Messages In This Thread
OnPlayerClickTextDraw bug - by AA9 - 26.08.2015, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)