SA-MP Forums Archive
[Ajuda] Dialog nгo muda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Dialog nгo muda (/showthread.php?tid=396255)



Dialog nгo muda - AiaN - 30.11.2012

Olб!

Ao clicar em "prуximo" no dialog, ele nгo muda, oque estб errado?

pawn Код:
format(str, sizeof(str), "HEHEHE");
        ShowPlayerDialog(playerid, DIALOG_HEHE, DIALOG_STYLE_MSGBOX, "HEHE", str, "Proximo", "Fechar");
pawn Код:
if(dialogid == DIALOG_HEHE)
    {
        if(response)
        {
            format(str, sizeof(str), "HEHEHEHEHE");
            ShowPlayerDialog(playerid, DIALOG_HEHE2, DIALOG_STYLE_MSGBOX, "hehe dois", str, "Prуximo", "Fechar");
            return 1;
        }
        else
        {
            // close dialog
        }
        return 1;
    }



Re: Dialog nгo muda - ViniBorn - 30.11.2012

DIALOG_HEHE2 tem valor diferente de DIALOG_HEHE ?


Re: Dialog nгo muda - AiaN - 30.11.2012

Tem.