14.03.2010, 16:51
Код:
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
}
Код:
if(strcmp(cmd,"/help", true) == 0)
{
ShowPlayerDialog(playerid,428,DIALOG_STYLE_MSGBOX,"help","Rules\nCommands","Yes","No");
return 1;
}
Код:
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");
}
}

