Need help to disable dialogs.
#5

Quote:
Originally Posted by PMH
Посмотреть сообщение
Use dialog as -1 to close al dialogs player have

for example:
pawn Код:
ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Okay", "Engough", "", "");
this will remove all dialogs player is currently facing
Im getting error : argument type mismatch (argument 4)
__________________________________________________ ____________________________________

Quote:
Originally Posted by Kyance
Посмотреть сообщение
Just comment;
pawn Код:
/*
if(dialogid == DIALOG_QUIZ_8)
    {
        if(response)
        {
            if(listitem == 0)
            {
                    new tstr[1024]; //i doubt you even need this
                    ShowPlayerDialog(playerid, DIALOG_DO_TUTORIAL, DIALOG_STYLE_MSGBOX, "{33CCFF}YOU'VE PASSED THE QUIZ!", "You've answered all the questions successfully..", "OK", "");
                    hidePlayerDialog(playerid);
//rest code here for DIALOG_QUIZ_8
*/
Or remove the tutorial stuff.
It Crashes my PAWN Compiler!
Reply


Messages In This Thread
Need help to disable dialogs. - by EPIC2LA - 31.08.2014, 14:13
Re: Need help to disable dialogs. - by PMH - 31.08.2014, 14:14
Re: Need help to disable dialogs. - by EPIC2LA - 31.08.2014, 14:17
Re: Need help to disable dialogs. - by Kyance - 31.08.2014, 14:30
Re: Need help to disable dialogs. - by EPIC2LA - 31.08.2014, 15:06
Re: Need help to disable dialogs. - by EPIC2LA - 31.08.2014, 15:40

Forum Jump:


Users browsing this thread: 2 Guest(s)