Dialog not appearing
#1

This dialog is not appearing...

pawn Код:
new dstring[124];
            format(dstring, sizeof(dstring), "Please select your new sex that you want to change to:");
            ShowPlayerDialog(playerid, REGISTRATION1,DIALOG_STYLE_MSGBOX,"Government(U.S. Registration) - Account Sex Management",dstring,"Male","Female");
pawn Код:
if(dialogid == REGISTRATION1)
        {
            if(response == 1)

            {
                PlayerInfo[playerid][pSex] = 1;
                SendClientMessage(playerid,COLOR_GRAD3,"You are now a Male");
                new dstring[124];
                format(dstring, sizeof(dstring), "Please input your age, make sure you are 17 or older");
                ShowPlayerDialog(playerid, REGISTRATION2,DIALOG_STYLE_INPUT,"Government(U.S. Registration) - Account Age Management",dstring,"Ok","Back");
                SavePlayerData(playerid);
            }
            else
            {
                PlayerInfo[playerid][pSex] = 2;
                SendClientMessage(playerid,COLOR_GRAD3,"You are now a Female");
                new dstring[124];
                format(dstring, sizeof(dstring), "Please input your age, make sure you are 17 or older");
                ShowPlayerDialog(playerid,REGISTRATION2,DIALOG_STYLE_INPUT,"Government(U.S. Registration) - Account Age Management",dstring,"Ok","Back");
                SavePlayerData(playerid);
            }
            }
        }
Reply


Messages In This Thread
Dialog not appearing - by Riddy - 24.06.2012, 18:03
Re: Dialog not appearing - by zombieking - 24.06.2012, 18:16
Re: Dialog not appearing - by Riddy - 24.06.2012, 18:50
Re: Dialog not appearing - by Pangea - 24.06.2012, 19:11
Re: Dialog not appearing - by Riddy - 24.06.2012, 19:21
Re: Dialog not appearing - by Pangea - 24.06.2012, 19:23
Re: Dialog not appearing - by Riddy - 24.06.2012, 19:27
Re: Dialog not appearing - by Pangea - 24.06.2012, 19:32
Re: Dialog not appearing - by Riddy - 24.06.2012, 19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)