[Help]with an explanation
#9

You should be more specific in your post then.

Not tested
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == DIALOG_ID_HERE && response)
   {
      // If he responded
      // do ST00F
   }
   return 1;
}
I've not yet used the style
Code:
 DIALOG_STYLE_MSGBOX
But it should be similar to the list one.

EDIT -
I just went and tested it.



This basicly shows a message..
So you could use...

Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == DIALOG_ID_HERE && response)
   {
      return 1;
   }
   return 1;
}
So basicly when you choose either one of the buttons (In my case, I just put both to "Cancel")
It will hide the Dialog.
Reply


Messages In This Thread
[Help]with an explanation - by Mark k - 09.03.2010, 14:26
Re: [Help]with an explanation - by [MWR]Blood - 09.03.2010, 14:28
Re: [Help]with an explanation - by Mark k - 09.03.2010, 14:29
Re: [Help]with an explanation - by Torran - 09.03.2010, 14:31
Re: [Help]with an explanation - by Mark k - 09.03.2010, 14:32
Re: [Help]with an explanation - by Torran - 09.03.2010, 14:34
Re: [Help]with an explanation - by Joe_ - 09.03.2010, 14:35
Re: [Help]with an explanation - by Mark k - 09.03.2010, 14:37
Re: [Help]with an explanation - by Joe_ - 09.03.2010, 14:43
Re: [Help]with an explanation - by Niixie - 09.03.2010, 15:43

Forum Jump:


Users browsing this thread: 3 Guest(s)