Dialog help
#1

How do I fix that if Dialog passed over each option, re-issue the previous Dialog? some help?

Pl. ShowPlayerDialog(playerid, DIALOG_MOTOZAS, DIALOG_STYLE_LIST, "Help", Help 1\nHelp 2, "Ok", "Exit");
Код:
	else if( dialogid == DIALOG_MOTOZAS )
                {
			if( !response )
                        {
                                return 1;
                        }
                        if( listitem == 0)
                        {
             		SendClientMessage(playerid,-1,"Blablabla");
                        //here to help inject Dialog again
                        }
                        if( listitem == 1)
                        {
                        SendClientMessage(playerid,-1,"GoatGoat");
                        //again you bring Dialog
                        }
                 }
anyone know?
Reply
#2

You would put your ShowPlayerDialog there again.

Код:
	else if( dialogid == DIALOG_MOTOZAS )
                {
			if( !response )
                        {
                                return 1;
                        }
                        if( listitem == 0)
                        {
             		SendClientMessage(playerid,-1,"Blablabla");
                         ShowPlayerDialog(playerid, DIALOG_MOTOZAS, DIALOG_STYLE_LIST, "Help", Help 1\nHelp 2, "Ok", "Exit");

                        }
                        if( listitem == 1)
                        {
                        SendClientMessage(playerid,-1,"GoatGoat");
                        ShowPlayerDialog(playerid, DIALOG_MOTOZAS, DIALOG_STYLE_LIST, "Help", Help 1\nHelp 2, "Ok", "Exit");

                        }
                 }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)