from dialog to dialog
#1

How do I go from dialog to dialog? example:
PHP код:
CMD:bla(playeridparams[])
{
   
ShowPlayerDialog(playeriddialog1bla"bla""bla""button1""button2");
   return 
1;

How do I go from dialog1 to dialog2 when clicking on button1?
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
if(
dialogid==dialog1 && response==1)
{
   switch(
listitem)
   {
       case 
0:
       {
           
ShowPlayerDialog(playeriddialog2bla"bla""bla""button1""button2");
           switch(
listitem)
           case 
0:
           {
                
// Something like this?
           
}
       }
   }
}
return 
1;

I hope I could explain it well.

---
How do you go from dialog1 to dialog2 by clicking button1 on dialog1
Reply


Messages In This Thread
from dialog to dialog - by saffierr - 11.03.2016, 01:18
Re: from dialog to dialog - by zPain - 11.03.2016, 01:27
Re: from dialog to dialog - by Abagail - 11.03.2016, 01:57
Re: from dialog to dialog - by Joron - 11.03.2016, 02:03
Re: from dialog to dialog - by saffierr - 11.03.2016, 08:57

Forum Jump:


Users browsing this thread: 2 Guest(s)