Dialog problem
#1

I changed the register DIALOG_STYLE_LIST in DIALOG_STYLE_MSGBOX (gender choice) now if I push the female the dialog that disappears because before dialog showing this: DIALOG_STYLE_LIST was
Код:
ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Intrebarea nr.1", "Male\nFemale","Enter", "Cancel");
and now is
Код:
ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"{FFFFCC}Gen", "{FFFFFF}Esti de sex {FFFFCC}masculin {FFFFFF}sau {FFFFCC}feminim{FFFFFF} te rugam alege mai jos.","Male","Female");
how to do that when I push the female give me the next step in the registration dialog not disappear?
Reply
#2

pawn Код:
ShowPlayerDialog(playerid,4, DIALOG_STYLE_BLAH, "BLAH nr.BLAH", "BLAHBLAH","BLAH", "BLAH"):
And
pawn Код:
ShowPlayerDialog(playerid,4+1,DIALOG_STYLE_BLAH, "BLAH","BLAH","BLAH");
Hope Thats It...
Reply
#3

You can select only on
pawn Код:
DIALOG_STYLE_LIST
Reply
#4

Dwane I have seen on other servers so
Reply
#5

It's impossible to select on DIALOG_STYLE_MSGBOX the text only on a list.
The only way is to click on buttons
pawn Код:
First Button (response) -> Male
Second Button (!response -> Female
Reply
#6

Look:
Reply
#7

I already mention above. You click on buttons and choose, you don't click on text "Esti de gen masculin sau feminin ?"
Reply
#8

I push those buttons
Reply
#9

#define DIALOG_DIALOG 123 is easyer
Reply
#10

pawn Код:
#define DIALOG_GEN 8000

// On Register
ShowPlayerDialog(playerid,DIALOG_GEN,DIALOG_STYLE_MSGBOX,"{FFFFCC}Gen", "{FFFFFF}Esti de sex {FFFFCC}masculin {FFFFFF}sau {FFFFCC}feminim{FFFFFF} te rugam alege mai jos.","Male","Female");

// OnDialogResponse
switch( dialogid )
{
    case DIALOG_GEN:
    {
        switch( listitem )
        {
            case 0:
            {
                // Code for Button 1
            }
            case 1:
            {
                // Code for Button 2
            }
        }
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)