not showing this dialogue
#9

try

PHP код:
// <?
stock MostrarAdmins
(playerid


    new    
        
// bools for admins
        
boolOnline,
        
boolNivel,
        
        
// simply arrays for
        
dialog[600],
        
arquivo[100],
        
nome[25],
        
cargo[15],
        
        
//for loopings:
        
ix
    
;
    
    for(
0x  GetPlayerPoolSize(); x; ++i){
        
        
GetPlayerName(inome24);
        
        
format(arquivo100"Usuarios/%s.txt"nome);
        if(
fexist(arquivo)){
            
            
Nivel dini_Int(arquivo"AdminLevel"); 
            
            switch(
Nivel){
                case 
0cargo "Moderador"
                case 
1cargo "Admin 1"
                case 
2cargo "Admin 2"
                case 
3cargo "Admin 3"
                case 
4cargo "Admin 4"
                case 
5cargo "Admin 5"
                case 
3000cargo "Admin 3000";     
            }
            
            if(
Nivel 0){
                
Online IsPlayerLoggedIn(nome);
                
format(arquivo100"[%s] %s - %s\n"cargonomeOnline ? ("Online") : ("Offline")); 
                
strcat(dialogarquivo);
            }
        }
        
        
ShowPlayerDialog(playerid0DIALOG_STYLE_LIST"Administraзгo"dialog"Fechar"#); 
    
}

    return 
1
}
Reply


Messages In This Thread
not showing this dialogue - by JoshNudock - 11.07.2015, 19:43
Re: not showing this dialogue - by TonyVk - 11.07.2015, 19:51
Re: not showing this dialogue - by JoshNudock - 11.07.2015, 21:35
Re: not showing this dialogue - by jlalt - 11.07.2015, 21:48
Re: not showing this dialogue - by JoshNudock - 11.07.2015, 22:02
Re: not showing this dialogue - by jlalt - 11.07.2015, 22:39
Re: not showing this dialogue - by JoshNudock - 12.07.2015, 23:09
Re: not showing this dialogue - by jlalt - 12.07.2015, 23:31
Re: not showing this dialogue - by zSuYaNw - 13.07.2015, 02:24
Re: not showing this dialogue - by JoshNudock - 13.07.2015, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)