Dialog
#1

When I make click on page 3,don't show me the dialog,and I do not know...

Photo: https://imgur.com/a/vDIZxYG

Код HTML:
case DIALOG_CMDS_LIST:
		{
		    if(response)
		    {
				eBigString[0] = EOS;
				//--------------------------------------------------------------
				switch(CosminInfo[playerid][Language])
				{
				    case 0:
				    {
				        strcat(eBigString, "{00FF40}Commands for vehicles:\n");
				        strcat(eBigString, "{F81414}/v {FFEB7B}- Meniu with all vehicles.\n");
				        strcat(eBigString, "{F81414}/car [vehicle name/id] {FFEB7B}- Create a car by his nume/id.\n");
				        strcat(eBigString, "{F81414}/nrg {FFEB7B}- Create a NRG-500 motorcycle.\n");
				        strcat(eBigString, "{F81414}/tune {FFEB7B}- Tune your car and save the tunning in your account for lter use.\n");
				        strcat(eBigString, "{F81414}/tc1,/tc2,/tc3 {FFEB7B}- Three predefined tunning styles.\n");
				        strcat(eBigString, "{F81414}/lock,/unlock {FFEB7B}- Lock or unlock your car doors.\n");
				        strcat(eBigString, "{F81414}/speed {FFEB7B}- Reach light speed with your car.\n");
				        strcat(eBigString, "{F81414}/vup {FFEB7B}- Make your car to jump.\n");
				        strcat(eBigString, "{F81414}/neon {FFEB7B}- Take a neon.\n");
				        strcat(eBigString, "{F81414}/np {FFEB7B}- Get a costom number plate for your car!\n\n");
				        strcat(eBigString, "{00FF40}Commands for DeathMeach:\n");
				        strcat(eBigString, "{F81414}/arme {FFEB7B}- Meniu with weapons.\n");
				        strcat(eBigString, "{F81414}/barme {FFEB7B}- Meniu with big weapons.\n");
				        strcat(eBigString, "{F81414}/ww,/rw {FFEB7B}- Thow sets of weapons.\n");
				        strcat(eBigString, "{F81414}/jetpack {FFEB7B}- Rocket Man.\n");
				        strcat(eBigString, "{F81414}/c4 {FFEB7B}- Put C4 Bombs in cars.\n");
				        strcat(eBigString, "{F81414}/duel {FFEB7B}- For make a duel.\n");
				        strcat(eBigString, "{F81414}/godp {FFEB7B}- All players which use /godmode will be found here.\n", 1900);
				        //------------------------------------------------------
				        if(response)
	                    {
	    	            ShowPlayerDialog(playerid, DIALOG_CMDS_PLAYER_2, DIALOG_STYLE_MSGBOX, "Commands Page {F81414}#2", eBigString, "Page 1", "Page 3");
	                    }
	                    else if(!response)
	                    {
				        ShowPlayerDialog(playerid, DIALOG_CMDS_LIST_2, DIALOG_STYLE_MSGBOX, "Commands Page {F81414}#2", eBigString, "Page 1", "Page 3");
				        }
				        return 1;
				    }
Reply
#2

Your code is messy, but that's not the problem.
You need to copy all dialogs used here and paste them so I can see what's the problem.
Reply
#3

Your code is called only after a true response, so if you're trying to trigger a false response it won't work, I can see three response checks, whose two are INSIDE a primary RESPONSE check.. You have to proceed those checks inside another dialog, which is the destination dialog.
Reply
#4

I solved,thank's for help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)