Showplayerdialog?
#1

Basically.
CMD:blah(playerid,params[]){
PHP код:
if (ShowPlayerDialog(playeridDIALOG_CHECKPINDIALOG_STYLE_INPUT,"Cipher","Please Enter your pin:","Confirm","") == 1){
//wait for DIALOG_CHECKPIN to return 1 or 0;
// do money stuff
}
else if ^
0{
//return an error
}
}
return 
1;

I really don't want to put this into an ondialog response. Since I want to reuse the pincheck callback.
And the ondialogresponse just confirms the pin, returning 1 or 0 depending on the result.
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: 1 Guest(s)