04.06.2012, 19:28
if(dialogid == DIALOGID+1
// Your Dialog Code
{
if(response)
{
if(listitem == 0)// First Dialog Option
{
return 1;
}
if(listitem == 1)// Second Dialog Option
{
return 1;
}
if(listitem == 2)// back
{
ShowPlayerDialog( playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Dialog Name", "You put your options for your back menu here", "Back", "Cancel"); // They clicked back.
}
}
return 1;
}
If you see how I done it here you will make a code to go back and set it to the dialog id you would like to go back to
// Your Dialog Code{
if(response)
{
if(listitem == 0)// First Dialog Option
{
return 1;
}
if(listitem == 1)// Second Dialog Option
{
return 1;
}
if(listitem == 2)// back
{
ShowPlayerDialog( playerid, DIALOGID+7, DIALOG_STYLE_LIST, "Dialog Name", "You put your options for your back menu here", "Back", "Cancel"); // They clicked back.
}
}
return 1;
}
If you see how I done it here you will make a code to go back and set it to the dialog id you would like to go back to

