Dialog blocked?
#1

Hey guys, I'm making a MDC system.
But something in this code blocks to open the dialog 22

pawn Код:
switch(dialogid) // Lookup the dialogid
    {
        case 20:
        {
            if(!response)
            {

                return 1;
            }

            switch(listitem)
            {
               
                case 0:
                {
                ShowPlayerDialog(playerid,21,DIALOG_STYLE_INPUT,"Civ.Information","Fill in a playerid","Ok","Cancel");
                }
                case 1:
                {
                new string[256];
                for(new i = 0; i < MAX_PLAYERS; i++)
                {
                if(IsPlayerConnected(i))
                {
                if(PlayerInfo[i][wantedlevel] == 1)
                {
                new name[128];
                GetPlayerName(i,name,128);
                format(string, 256, "%s", name);
                ShowPlayerDialog(playerid,22,DIALOG_STYLE_MSGBOX,"Suspects",string,"Ok","Cancel");
                }
            }
        }
        }
    }
}
}
So what blocks to show dialog 22 in case:1 ?
Reply


Messages In This Thread
Dialog blocked? - by bartje01 - 29.01.2011, 19:28
Re: Dialog blocked? - by Danny - 29.01.2011, 19:40
Re: Dialog blocked? - by bartje01 - 29.01.2011, 19:47
Re: Dialog blocked? - by ricardo178 - 29.01.2011, 19:48
Re: Dialog blocked? - by bartje01 - 29.01.2011, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)