Thread: [Ajuda] dialog nao aparecendo
View Single Post
Old 15/02/2020, 11:00 PM   #1
moura98
Huge Clucker
 
moura98's Avatar
 
Join Date: Jul 2015
Location: Brasil
Posts: 486
Reputation: 20
Post dialog nao aparecendo

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""");
                        
                    }
                }
            } 
__________________
moura98 is offline   Reply With Quote