new problem
#1

Код:
Hey guys. GOt a new problem at my dialog thing
This is the problem:
When I do /help it shows the dialog correctly. When I click yes it switches to the list dialog too (id 193)
But then when I click on that thing in the list it just closes the dialog and the dialog that says this:

if(dialogid == 197)
switch(dialogid)
{
    case 0:
    {
    ShowPlayerDialog(playerid,231,DIALOG_STYLE_MSGBOX,"help","TestTestTest","Yes","No");
    }


It doesnt show that.
How to fix?
Please heeelp XD
}
This is the command


Код:
	if(strcmp(cmd,"/help", true) == 0)
{

	ShowPlayerDialog(playerid,428,DIALOG_STYLE_MSGBOX,"help","Rules\nCommands","Yes","No");


  return 1;
}
And here the dialog thing
Код:
	if(dialogid == 428) {

	if(response == 1) {
	ShowPlayerDialog(playerid,193,DIALOG_STYLE_LIST,"Help","Wanna continue to the help desk?","Yes","No");
 	
 	}

 	if(response == 0) {
 	SendClientMessage(playerid, 0x33AA33AA, "You canceled. ");
 	return 1;
	 }
 	}


if(dialogid == 193)
switch(dialogid)
{
    case 0:
    {
    ShowPlayerDialog(playerid,231,DIALOG_STYLE_MSGBOX,"help","TestTestTest","Yes","No");
    }
}
Reply


Messages In This Thread
new problem - by bartje01 - 14.03.2010, 16:51
Re: new problem - by deather - 14.03.2010, 17:03
Re: new problem - by bartje01 - 14.03.2010, 17:11
Re: new problem - by deather - 14.03.2010, 17:22

Forum Jump:


Users browsing this thread: 2 Guest(s)