Need help to disable dialogs.
#1

Hi Guys,

I just need a little time with you, as i want to disable my tutorial which is in dialogs, and if
the tutorial disability is impossible, so can i disable my QUIZ which is in dialogs also

Help me please by sending an answer how can i do it,
Thank you.

*Peace*
Reply
#2

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
Reply
#3

how ?

Код:
if(dialogid == DIALOG_QUIZ_8)
	{
 		if(response)
		{
			if(listitem == 0)
			{
					new tstr[1024];
                    ShowPlayerDialog(playerid, DIALOG_DO_TUTORIAL, DIALOG_STYLE_MSGBOX, "{33CCFF}YOU'VE PASSED THE QUIZ!", "You've answered all the questions successfully..", "OK", "");
					hidePlayerDialog(playerid);
Reply
#4

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.
Reply
#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
#6

Anyone Or Even scripters..Can you contact me @ skype : anish.gowr1
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)