[Ajuda] SISTEMA BUGADO.
#1

Bom queria uma ajuda para salva esse sistema um dof2 para aparece os players off.
PHP код:
dcmd_infofav(playeridparams[])
{
#pragma unused params
ShowPlayerDialog(playeridDIALOG_INFOFAVELADIALOG_STYLE_LIST"{6B0C0C}» {FFFFFF}Informaзгo da Comunidade""Administradores\nFrentes\nGerentes\nVapores\nFogueteiros""Escolher""Voltar");
return 
1;
}
    if(
dialogid == DIALOG_INFOFAVELA)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                new 
txt[2048];
                   new 
dialogrande2[4000];
                for(new 
0MAX_PLAYERS++)
                {
                    new 
Player[i][pFaccoes];
                     if(
Player[playerid][pFaccoes] == Player[i][pFaccoes] && Player[i][pAdmin] >= 1)
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Administrador %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"%s%s\n"txtgetPName(i));
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_INFOFAVELA,DIALOG_STYLE_LISTdialogrande2txt"Selecionar""Voltar");
            }
            if(
listitem == 1)
            {
                new 
txt[2048];
                new 
dialogrande2[4000];
                for(new 
0MAX_PLAYERS++)
                {
                    new 
Player[i][pFaccoes];
                     if(
Player[playerid][pFaccoes] == Player[i][pFaccoes] && Player[i][pFrente] >= 1)
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Frentes %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"%s%s\n"txtgetPName(i));
                    }
                    else
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Frentes %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"{4876FF}Nгo tem nenhum setado!\n"txt);
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_INFOFAVELA,DIALOG_STYLE_LISTdialogrande2txt"Selecionar""Voltar");
            }
            if(
listitem == 2)
            {
                new 
txt[2048];
                new 
dialogrande2[4000];
                for(new 
0MAX_PLAYERS++)
                {
                    new 
Player[i][pFaccoes];
                     if(
Player[playerid][pFaccoes] == Player[i][pFaccoes] && Player[i][pGerente] >= 1)
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Gerentes %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"%s%s\n"txtgetPName(i));
                    }
                    else
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Gerentes %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"{4876FF}Nгo tem nenhum setado!\n"txt);
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_INFOFAVELA,DIALOG_STYLE_LISTdialogrande2txt"Selecionar""Voltar");
            }
            if(
listitem == 3)
            {
                new 
txt[2048];
                new 
dialogrande2[4000];
                for(new 
0MAX_PLAYERS++)
                {
                    new 
Player[i][pFaccoes];
                     if(
Player[playerid][pFaccoes] == Player[i][pFaccoes] && Player[i][pVapor] >= 1)
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Vapores %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"%s%s\n"txtgetPName(i));
                    }
                    else
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Vapores %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"{4876FF}Nгo tem nenhum setado!\n"txt);
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_INFOFAVELA,DIALOG_STYLE_LISTdialogrande2txt"Selecionar""Voltar");
            }
            if(
listitem == 4)
            {
                new 
txt[2048];
                new 
dialogrande2[4000];
                for(new 
0MAX_PLAYERS++)
                {
                    new 
Player[i][pFaccoes];
                     if(
Player[playerid][pFaccoes] == Player[i][pFaccoes] && Player[i][pFogueteiro] >= 1)
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Fogueteiros %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"%s%s\n"txtgetPName(i));
                    }
                    else
                    {
                        
format(dialogrande2sizeof(dialogrande2),"{6B0C0C}» {FFFFFF}Fogueteiros %s\n",Faccoes[t][tNome]);
                        
format(txt,2048,"{4876FF}Nгo tem nenhum setado!\n"txt);
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_INFOFAVELA,DIALOG_STYLE_LISTdialogrande2txt"Selecionar""Voltar");
            }
        }
       } 
Reply


Messages In This Thread
COMANDO NAO FUCIONA. - by henriqueTL - 16.03.2017, 03:01
Re: Comando nao funciona. - by henriqueTL - 16.03.2017, 03:45
Re: SISTEMA BUGADO. - by didimk157 - 16.03.2017, 03:57
Re: SISTEMA BUGADO. - by henriqueTL - 16.03.2017, 10:23
Re: SISTEMA BUGADO. - by henriqueTL - 16.03.2017, 14:45
Re: SISTEMA BUGADO. - by Relaxed - 16.03.2017, 16:31
Re: SISTEMA BUGADO. - by DaRoma - 29.03.2017, 17:33
Re: SISTEMA BUGADO. - by Rato22 - 29.03.2017, 19:46
Re: SISTEMA BUGADO. - by IlanZ - 29.03.2017, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)