Showplayerdialog?
#2

pawn Код:
CMD:command(playerid,params[])
{
      ShowPlayerDialog(playerid, DIALOG_CHECKPIN, DIALOG_STYLE_INPUT,"Cipher","Please Enter your pin:","Confirm","");
}
Then use the call back

https://sampwiki.blast.hk/wiki/OnDialogResponse

example
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
      if(dialogid = DIALOG_CHECKPIN)
      {
            if(response)
            {
                  //code goes here
             }
             else
             {
     
             }
       }
       return 0;
}
Reply


Messages In This Thread
Showplayerdialog? - by MassDivide - 10.05.2013, 02:06
Re: Showplayerdialog? - by horsemeat - 10.05.2013, 02:09
Re: Showplayerdialog? - by MassDivide - 10.05.2013, 02:10
Re: Showplayerdialog? - by horsemeat - 10.05.2013, 02:13
Re: Showplayerdialog? - by MassDivide - 10.05.2013, 02:34
Re: Showplayerdialog? - by horsemeat - 10.05.2013, 02:42

Forum Jump:


Users browsing this thread: 2 Guest(s)