Dialog question
#9

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem,
{
  if(dialogid == blablabla)
  {
    if(response)
      {
    switch(dialogid)
    {
        case DIALOG_INPUT:
        {
            if(response)
            {
                new userid;
                if(sscanf(inputtext,"u",userid)) return ShowPlayerDialog(playerid,DIALOG_INPUT,DIALOG_STYLE_INPUT,"Enter name/userid","Error: Enter the name/userid","OK","Cancel");
               Showplayerdialog(userid, Blabla);
            }
        }
    }
    return 1;
}
This code would work?
I am typing via phone.
Reply


Messages In This Thread
Dialog question - by Rabea - 26.06.2015, 09:53
Re: Dialog question - by Sellize - 26.06.2015, 10:14
Re: Dialog question - by Rabea - 26.06.2015, 10:23
Re: Dialog question - by [XST]O_x - 26.06.2015, 10:31
Re: Dialog question - by Rabea - 26.06.2015, 10:39
Re: Dialog question - by [XST]O_x - 26.06.2015, 10:51
Re: Dialog question - by Rabea - 26.06.2015, 10:55
Re: Dialog question - by liquor - 26.06.2015, 11:05
Re: Dialog question - by Rabea - 26.06.2015, 12:05
Re: Dialog question - by Prokill911 - 26.06.2015, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)