[Ajuda] Menu de click
#2

Nгo entendi direito oque vocк quer, mais fiz um exemplo.
pawn Code:
if(!strcmp(cmdtext,"/menu",true))
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"Exemplo de menu","Aqui\r\nFica\r\nAs\r\nOpзхes","Escolher","Cancelar");
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1) // o mesmo id do que vocк usou acima...
    {
        if(response) // se o botгo for o '1' ou o botгo da esquerda...
        {
            if(listitem == 0) // a primeira opзгo que no caso й 'Aqui'
            {
                //funзгo...
                return 1;
            }
            if(listitem == 1) // a segunda opзгo que no caso й 'Fica'
            {
                //funзгo
                return 1;
            }
            // e por ai em diante '-'
        }
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Menu de click - by SERRA93 - 13.10.2011, 20:19
Re: Menu de click - by WLSF - 13.10.2011, 20:31
Re: Menu de click - by SERRA93 - 13.10.2011, 21:07
Re: Menu de click - by [O.z]Caroline - 13.10.2011, 21:12
Re: Menu de click - by WLSF - 13.10.2011, 21:12
Re: Menu de click - by [O.z]Caroline - 13.10.2011, 21:14
Re: Menu de click - by WLSF - 13.10.2011, 21:16
Re: Menu de click - by SERRA93 - 13.10.2011, 21:40
Re: Menu de click - by WLSF - 13.10.2011, 21:42
Re: Menu de click - by SERRA93 - 13.10.2011, 21:45
Re: Menu de click - by WLSF - 13.10.2011, 21:48
Re: Menu de click - by SERRA93 - 13.10.2011, 22:07
Re: Menu de click - by WLSF - 13.10.2011, 22:19
Re: Menu de click - by SERRA93 - 13.10.2011, 22:24
Re: Menu de click - by WLSF - 13.10.2011, 22:31
Re: Menu de click - by SERRA93 - 13.10.2011, 22:56
Re: Menu de click - by SERRA93 - 13.10.2011, 23:04
Re: Menu de click - by WLSF - 13.10.2011, 23:12
Re: Menu de click - by SERRA93 - 13.10.2011, 23:16
Re: Menu de click - by WLSF - 13.10.2011, 23:19
Re: Menu de click - by SERRA93 - 13.10.2011, 23:22
Re: Menu de click - by SERRA93 - 13.10.2011, 23:25
Re: Menu de click - by WLSF - 13.10.2011, 23:27
Re: Menu de click - by SERRA93 - 13.10.2011, 23:30
Re: Menu de click - by WLSF - 13.10.2011, 23:31
Re: Menu de click - by SERRA93 - 13.10.2011, 23:33
Re: Menu de click - by WLSF - 13.10.2011, 23:43
Re: Menu de click - by SERRA93 - 13.10.2011, 23:50
Re: Menu de click - by WLSF - 13.10.2011, 23:52
Re: Menu de click - by SERRA93 - 13.10.2011, 23:55
Re: Menu de click - by WLSF - 13.10.2011, 23:56
Re: [Ajuda] Menu de click - by SERRA93 - 14.10.2011, 00:00
Re: [Ajuda] Menu de click - by WLSF - 14.10.2011, 00:05
Re: [Ajuda] Menu de click - by SERRA93 - 14.10.2011, 00:23
Re: [Ajuda] Menu de click - by WLSF - 14.10.2011, 00:29
Re: [Ajuda] Menu de click - by SERRA93 - 14.10.2011, 00:34

Forum Jump:


Users browsing this thread: 10 Guest(s)