OnDialogResponse problem
#7

pawn Код:
//command
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Test", "Test\r\nTest2", "Ok", "Close");
//OnDialogResponse
if(dialogid == 1)
{
    if(response)
    {
         if(listitem == 0)
         {
              ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Test11", "Test111test111string", "Ok", "Cancel");
          }
          if(listitem == 1)
         {
              ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Test11", "Test111tasdaest111string", "Ok", "Cancel");
          }
    }
}
It just shows the first dialog when i execute the command and then if i click an option nothing happens.This also happens with other dialogs.The printf returns nothing(Nothing is printed in the server console)
Reply


Messages In This Thread
OnDialogResponse problem - by Yvax - 06.11.2011, 14:01
Re: OnDialogResponse problem - by Wesley221 - 06.11.2011, 14:02
Re: OnDialogResponse problem - by Yvax - 06.11.2011, 14:05
Re: OnDialogResponse problem - by Wesley221 - 06.11.2011, 14:06
Re: OnDialogResponse problem - by Yvax - 06.11.2011, 14:09
Re: OnDialogResponse problem - by Wesley221 - 06.11.2011, 14:21
Re: OnDialogResponse problem - by Yvax - 06.11.2011, 14:45
Re: OnDialogResponse problem - by Yvax - 06.11.2011, 16:24
Re: OnDialogResponse problem - by Yvax - 07.11.2011, 12:28
Re: OnDialogResponse problem - by Kostas' - 07.11.2011, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)