dialogs
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 4)
    {
        switch(listitem)
        {
        case 0: SendClientMessage(playerid, White, "Test 1");
        case 1: SendClientMessage(playerid, White, "Test 2");
        }
    }
    return 1;
}
Responses are the ''Select'' and ''Cancel'' buttons, not the ''Test 1'' and ''Test 2'' Buttons.
Reply


Messages In This Thread
dialogs - by xir - 04.03.2011, 21:29
Re: dialogs - by Marricio - 04.03.2011, 21:33
Re: dialogs - by xir - 04.03.2011, 21:36
Re: dialogs - by Marricio - 04.03.2011, 21:38
Re: dialogs - by xir - 04.03.2011, 21:45
Re: dialogs - by Marricio - 04.03.2011, 21:48
Re: dialogs - by xir - 04.03.2011, 21:54
Re: dialogs - by xir - 04.03.2011, 22:09
Re: dialogs - by Marricio - 04.03.2011, 22:14
Re: dialogs - by xir - 04.03.2011, 22:24

Forum Jump:


Users browsing this thread: 2 Guest(s)