[Ajuda] Dialogs nгo clicaveis
#7

ta mesmo deste genero assim, olha bem

pawn Код:
#define DIALOG_REGRAS 1234

cmd:regras(playerid)
{
    new pt[20]; // aumente conforme os carateres que usar
    strcat(pt,"regra1\n");
    strcat(pt,"regra2\n");
    ShowPlayerDialog(playerid, DIALOG_REGRAS, DIALOG_STYLE_MSGBOX, "{F81414}Bem-Vindo ao Brasil 2Life", pt, "Concordo", "Discordo");
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_REGRAS)
    {
        if(response == 1)
        {
            //code
        }
        else
        {
            //kick ( sei la so uma ideia )
        }
    }
    return 1;
}
Reply


Messages In This Thread
Dialogs nгo clicaveis - by ViniKuliveguisky - 29.09.2013, 19:31
Re: Dialogs nгo clicaveis - by PT - 29.09.2013, 19:47
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 29.09.2013, 20:41
Re: Dialogs nгo clicaveis - by HatedS - 29.09.2013, 20:51
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 29.09.2013, 20:52
Re: Dialogs nгo clicaveis - by HatedS - 29.09.2013, 21:01
Re: Dialogs nгo clicaveis - by PT - 29.09.2013, 21:01
Re: Dialogs nгo clicaveis - by smiiir - 29.09.2013, 21:03
Re: Dialogs nгo clicaveis - by HatedS - 29.09.2013, 21:04
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 29.09.2013, 21:09
Respuesta: Re: Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 01.10.2013, 00:58
Re: Dialogs nгo clicaveis - by Caio_Freeze - 01.10.2013, 01:39
Re: Dialogs nгo clicaveis - by n0minal - 01.10.2013, 02:32
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 01.10.2013, 19:46
Re: Dialogs nгo clicaveis - by Caio_Freeze - 01.10.2013, 19:57
Re: Dialogs nгo clicaveis - by PT - 01.10.2013, 19:58
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 01.10.2013, 20:06
Respuesta: Dialogs nгo clicaveis - by ViniKuliveguisky - 02.10.2013, 00:13
Re: Dialogs nгo clicaveis - by arakuta - 02.10.2013, 01:49
Respuesta: Re: Dialogs nгo clicaveis - by ViniKuliveguisky - 02.10.2013, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)