[Ajuda] loose indentation
#1

PHP код:
        if(dialogid == 9517// o mesmo id do que vocк usou acima...
        
{
            if(
response// se o botгo for o '1' ou o botгo da esquerda...
            
{
                if(
listitem == 0// Atendimento
                
{
                    
ShowPlayerDialog(playerid13DIALOG_STYLE_MSGBOX"Preзo de conta vip"" Bronze R$ 5.00 - Prata R$ 15,00 - Ouro R$ 20,00""Ok""Sair");
                    return 
1;
                }
                if(
listitem == 1// ajuda casa
                
{
                      
ShowPlayerDialog(playerid13DIALOG_STYLE_MSGBOX"Vantagens vip""Atendimento vip - Kit de arma vip - Carros vip - Casa vip - Empresa vip - Tem direitos a todas as carroзinhas de cachorro-quente e sorvete etc... ""Ok""Sair");
                      
ShowPlayerDialog(playerid13DIALOG_STYLE_MSGBOX"Vantagens vip""Atendimento vip - Kit de arma vip - Carros vip - Casa vip - Empresa vip - Tem direitos a todas as carroзinhas de cachorro-quente e sorvete etc... ""Ok""Sair");
                    return 
1;
                }
                if(
listitem == 2)
                {
                    
ShowPlayerDialog(playerid13DIALOG_STYLE_MSGBOX"Comprar Vip""Acesse www.crackgames ( fasemdO) depois entra na area de contato e manda um email para o admim""Ok""Sair");
                    return 
1;
                }
                return 
1;
            }
        }
        if(
dialogid == 9516// o mesmo id do que vocк usou acima...
        
{
            if(
response// se o botгo for o '1' ou o botгo da esquerda...
            
{
                if(
listitem == 0// a primeira opзгo que no caso й 'Aqui'
                
{
                    if(
PlayerInfo[playerid][pAge] == 0){
                    
PlayerInfo[playerid][pAge] = 1;
                    
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Sucesso.","Vocк entrou na fila de atendimento, agora aguarde.","OK","OK");
                    
PlayerPlaySound(playerid10560.00.00.0);
                    }else{
                    
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Fail","Vocк ja entrou na fila de atendimento, Aguarde ser atendito","OK","OK");
                    
PlayerPlaySound(playerid10560.00.00.0);
                       }
                    return 
1;
                   }
                if(
listitem == 1// a segunda opзгo que no caso й 'Fica'
                   
{
                    if(
PlayerInfo[playerid][pAge] == 0){
                     
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Fail.","Vocк nгo esta na fila de atendimento","OK","OK");
                     
PlayerPlaySound(playerid10560.00.00.0);
                    }else{
                    
PlayerInfo[playerid][pAge] = 0;
                    
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Sucesso.","Vocк saiu da fila atendimento","OK","OK");
                    
PlayerPlaySound(playerid10560.00.00.0);
                    }
                    return 
1;
                }
                if(
listitem == 2)
                {
                if(
PlayerInfo[playerid][pDonateRank] == || PlayerInfo[playerid][pDonateRank] == || PlayerInfo[playerid][pDonateRank] == 3)
                    {
                        if(
PlayerInfo[playerid][pAge] == 0)
                            {
                            
PlayerInfo[playerid][pAge] = 1;
                            
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Sucesso.","Vocк entrou na fila de atendimento, agora aguarde.","OK","OK");
                            
PlayerPlaySound(playerid10560.00.00.0);
                            }
                            else
                            {
                            
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Fail","Vocк ja entrou na fila de atendimento, Aguarde ser atendito","OK","OK");
                            
PlayerPlaySound(playerid10560.00.00.0);
                               }
                        
//erro nessa linha aqui    ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "Sucesso", "Vocк solicitou atendimento vip, e serб atendido o mais rapido possivel, obrigado por ter comprado vip.", "Ok", "Sair");
                            
GetPlayerName(playerid,sendername,sizeof(sendername));
                            
format(stringsizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP "sendername);
                            
format(stringsizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP "sendername);
                            
format(stringsizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP "sendername);
                            
format(stringsizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP "sendername);
                            
PlayerPlaySound(playerid10560.00.00.0);
                            
SendAdminMessage(COLOR_REDstring);
                              }
                              else
                              {
                              
ShowPlayerDialog(playerid13DIALOG_STYLE_MSGBOX"Fail""Vocк nгo e vip""Ok""Sair");
                              
PlayerPlaySound(playerid10560.00.00.0);
                              return 
1;
                          }
                if(
listitem == 3)
                    {
                        
ShowPlayerDialog(playerid124DIALOG_STYLE_MSGBOX,"Fail","Vocк ja entrou na fila de atendimento, Aguarde ser atendito","OK","OK");
                        return 
1;
                    }
                    }
                }
        } 
alguem sabe pq ta dando isso affg ??
Reply


Messages In This Thread
[Ajuda] loose indentation - by SERRA93 - 14.10.2011, 22:53
Re: loose indentation - by [O.z]Caroline - 14.10.2011, 22:56
Re: loose indentation - by Cristhian - 14.10.2011, 23:01
Re: loose indentation - by SERRA93 - 14.10.2011, 23:19
Re: loose indentation - by SERRA93 - 14.10.2011, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)