Multiple Dialog
#5

Quote:
Originally Posted by Twistedz
Посмотреть сообщение
Try this code instead, not tested.

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch (dialogid)
    {
        if(dialogid == 24)
        {
            if(!response)
            {
                SendClientMessage(playerid, -1, "You have closed this dialog.");
            }
            else
            {
                switch(listitem)
                {
                    case 0: 
                    {
                    new jm[170];
                    format(jm, sizeof jm, "Type your Message Here:");
                    ShowPlayerDialog(playerid, 97, DIALOG_STYLE_INPUT, "Change Message", jm, "Save", "Cancel");
                    }
                    case 1:
                    {
                    SendClientMessage(playerid, -1, "Test 2nd dialog");
                    }
                }
            }
         }    
     }
    return 1;
}
nope don't work
Reply


Messages In This Thread
Multiple Dialog - by DerickClark - 07.02.2017, 03:43
Re: Multiple Dialog - by Wolfe - 07.02.2017, 03:56
Re: Multiple Dialog - by DerickClark - 07.02.2017, 04:01
Re: Multiple Dialog - by Twistedz - 07.02.2017, 04:02
Re: Multiple Dialog - by DerickClark - 07.02.2017, 04:03
Re: Multiple Dialog - by Wolfe - 07.02.2017, 04:05
Re: Multiple Dialog - by DerickClark - 07.02.2017, 04:07
Re: Multiple Dialog - by Twistedz - 07.02.2017, 04:09
Re: Multiple Dialog - by DerickClark - 07.02.2017, 04:11
Re: Multiple Dialog - by Wolfe - 07.02.2017, 04:11

Forum Jump:


Users browsing this thread: 1 Guest(s)