[Ajuda] dialog nao aparecendo
#1

por que a dialog nao esta aparecendo ?

PHP Code:
if( response )
        {
            if( 
Pergunta[playerid] == )
            {
                switch (
listitem)
                {
                    case 
0
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"Dar socos, tiro em outro jogador sem motivo. qual nome da regra infringida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: NonSense \nMetaGaming");
                        
Pergunta[playerid] = 2;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                    }
                    case 
1
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"Dar socos, tiro em outro jogador sem motivo. qual nome da regra infringida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: NonSense \nMetaGaming");
                        
Pergunta[playerid] = 2;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                    }
                    case 
2
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"Dar socos, tiro em outro jogador sem motivo. qual nome da regra infringida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: NonSense \nMetaGaming");
                        
Pergunta[playerid] = 2;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                        
CountWL[playerid]++;
                    }
                }
            }
            else if( 
Pergunta[playerid] == )
            {
                switch (
listitem)
                {
                    case 
0
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"{FFFFFF}Forca um ato RP ou nao RP. Qual regra infrigida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: PowerGaming \nC: MetaGaming");
                        
Pergunta[playerid] = 3;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                        
CountWL[playerid]++;
                    }
                    case 
1
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"{FFFFFF}Forca um ato RP ou nao RP. Qual regra infrigida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: PowerGaming \nC: MetaGaming");
                        
Pergunta[playerid] = 3;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                        
CountWL[playerid]++;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                    }
                    case 
2
                    {
                        for(new 
ii<20i++)
                           {
                               
SendClientMessage(playerid, -1"");
                           }
                           
SendClientMessage(playerid0x00FFFF"Pergunta: ");
                           
SendClientMessage(playerid, -1"{FFFFFF}Forca um ato RP ou nao RP. Qual regra infrigida?");
                        
format(str2sizeof str2"{FFFFFF}A: DeathMatch \nB: PowerGaming \nC: MetaGaming");
                        
Pergunta[playerid] = 3;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                        
CountWL[playerid]++;
                        
ShowPlayerDialog(playeridD_WLDIALOG_STYLE_LISTstrstr2"Confirmar""");
                        
                    }
                }
            } 
Reply


Messages In This Thread
dialog nao aparecendo - by moura98 - 15.02.2020, 23:00
Re: dialog nao aparecendo - by zKaioDzn - 15.02.2020, 23:03
Re: dialog nao aparecendo - by moura98 - 15.02.2020, 23:05
Re: dialog nao aparecendo - by zKaioDzn - 15.02.2020, 23:16
Re: dialog nao aparecendo - by moura98 - 15.02.2020, 23:18
Re: dialog nao aparecendo - by zKaioDzn - 15.02.2020, 23:24
Re: dialog nao aparecendo - by moura98 - 16.02.2020, 14:12
Re: dialog nao aparecendo - by moura98 - 16.02.2020, 15:55

Forum Jump:


Users browsing this thread: 3 Guest(s)