[Ajuda] OnDialogResponse
#8

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == Dialog_Profissao)
    {
        if(
response
        {
            switch(
listitem)
            {
                case 
0: (.....) 
                case 
1: (.....)
                case 
2: (.....)
                case 
3: (.....)
            }
        }
        return 
1
    }
    return 
1

Eu acho mais simples com switch...
Reply


Messages In This Thread
OnDialogResponse - by DarkZin - 04.01.2017, 14:31
Re: OnDialogResponse - by didimk157 - 04.01.2017, 15:15
Re: OnDialogResponse - by DarkZin - 04.01.2017, 20:27
Re: OnDialogResponse - by Felipe1241421 - 04.01.2017, 21:00
Re: OnDialogResponse - by AuhMaru - 05.01.2017, 12:51
Re: OnDialogResponse - by Jaaapa - 05.01.2017, 13:58
Re: OnDialogResponse - by johntrybescripter - 05.01.2017, 17:26
Re: OnDialogResponse - by IlanZ - 05.01.2017, 21:08

Forum Jump:


Users browsing this thread: 4 Guest(s)