[Ajuda] Dialog nгo aparece
#2

PHP код:
if(strcmp(cmd"/admins"true)==0
    { 
        new 
s[200], ss[200], iname[20]; 
        for(new 
0MAX_PLAYERSi++) 
        { 
            if(
IsPlayerConnected(i)) 
            { 
                if(
pAdmin[i] >=|| guardiao[i] == || PlayerInfo[i][OrganizadorA] == 1
                { 
                    
GetPlayerName(iiname20); 
                    
format(ssizeof(s), "Nick[ID]\tCargo\n%s[%d]\t%s\n"inameicargo(i)); 
                    
strcat(sss); 
                    
quant++; 
                } 
            } 
        } 
        if(
quant >0
        { 
            
ShowPlayerDialog(playeridDIALOGADMINSDIALOG_STYLE_TABLIST_HEADERS"Membros da equipe online:"ss"Fechar""Fechar"); 
        } 
        if(
quant == 0
        { 
            
ShowPlayerDialog(playeridDIALOGADMINSOFFDIALOG_STYLE_TABLIST_HEADERS"Membros da equipe online:""Nгo hб membros da equipe online no momento.""Fechar""Fechar"); 
        } 
    return 
1
    } 
Nгo testei mas penso que agora estб funcional...
Reply


Messages In This Thread
Dialog nгo aparece - by Luiiiz - 02.03.2017, 17:09
Re: Dialog nгo aparece - by Cheleber_Pausini - 02.03.2017, 17:53
Re: Dialog nгo aparece - by Luiiiz - 02.03.2017, 18:12
Re: Dialog nгo aparece - by Cheleber_Pausini - 02.03.2017, 18:22
Re: Dialog nгo aparece - by Tuznn - 02.03.2017, 18:23
Re: Dialog nгo aparece - by Showzs - 02.03.2017, 18:26
Re: Dialog nгo aparece - by Luiiiz - 02.03.2017, 18:32
Re: Dialog nгo aparece - by Luiiiz - 02.03.2017, 18:35
Re: Dialog nгo aparece - by Showzs - 02.03.2017, 18:35
Re: Dialog nгo aparece - by Luiiiz - 02.03.2017, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)