FDLG Help
#1

I'm using FDialog to create dialogs and I just realized that using definitions for the dialogs doesn't work. For example:

The following will display the dialog, but when I click "Yes" it does nothing.

pawn Код:
#define DIALOG_TEST 1

//OnPlayerConnect

ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_INPUT, "Test", "Test", "Yes", "No");

//later on

fDialog(DIALOG_TEST)
{
      if(response)
      {
          SendClientMessage(playerid, RED, "Hello");
      }
      return 1;
}
To get it to work, I have to use fDialog(1) instead of fDialog(DIALOG_TEST). Any idea why?
Reply


Messages In This Thread
FDLG Help - by TKZ227 - 05.05.2013, 22:10
Re: FDLG Help - by Pottus - 05.05.2013, 22:15
Re: FDLG Help - by TKZ227 - 05.05.2013, 22:30
Re: FDLG Help - by Pottus - 05.05.2013, 22:34
Re: FDLG Help - by TKZ227 - 05.05.2013, 22:45
Re: FDLG Help - by Pottus - 05.05.2013, 23:12

Forum Jump:


Users browsing this thread: 3 Guest(s)