10.05.2013, 02:09
pawn Код:
CMD:command(playerid,params[])
{
ShowPlayerDialog(playerid, DIALOG_CHECKPIN, DIALOG_STYLE_INPUT,"Cipher","Please Enter your pin:","Confirm","");
}
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;
}