[Ajuda] Comando /administradores
#2

PHP код:
CMD:administradores(playeridparams[])
{
    new 
string[180], NenhumnAdmin[MAX_PLAYER_NAME];
    for(new 
0MAX_PLAYERSi++)
    {
        if(
Player[i][Administrador] > 0)
        {
            
GetPlayerName(inAdmin32);
            if(
Player[i][Administrador] == 1AdminNivel "Ajudante";
            if(
Player[i][Administrador] == 2AdminNivel "Moderador(a)";
            if(
Player[i][Administrador] == 3AdminNivel "Administrador(a)";
            if(
Player[i][Administrador] == 4AdminNivel "Programador(a)";
            if(
Player[i][AdminOnline] == trueAdminOnline "Conectado";
            
format(stringsizeof(string), "{FFFFFF}Nome\tNнvel\tStatus\n%s\t%s\s%s"nAdminAdminNivelAdminOnline);
            
ShowPlayerDialog(playeridDIALOG_ADMINDIALOG_STYLE_TABLIST_HEADERS"{FF0000}Administradores"string"{FFFFFF}Fechar""");
            
Nenhum++;
        }
    if(
Nenhum == 0)
    {
        
ShowPlayerDialog(playeridDIALOG_NOADMINDIALOG_STYLE_MSGBOX"{FF0000}Administradores""{FF0000}Nгo hб administradores(a) online""{FFFFFF}Fechar"""
    
}
    return 
1;

Reply


Messages In This Thread
Comando /administradores - by JoaoBorges - 02.11.2017, 20:28
Re: Comando /administradores - by Cleyson - 02.11.2017, 20:39
Re: Comando /administradores - by JoaoBorges - 02.11.2017, 20:43
Re: Comando /administradores - by Cleyson - 02.11.2017, 20:46
Re: Comando /administradores - by Gguiz - 02.11.2017, 21:01
Re: Comando /administradores - by Naine - 02.11.2017, 21:56
Re: Comando /administradores - by JoaoBorges - 03.11.2017, 14:32
Re: Comando /administradores - by Naine - 03.11.2017, 15:16
Re: Comando /administradores - by RiqueP - 04.11.2017, 00:23
Re: Comando /administradores - by DarkBr - 04.11.2017, 01:10

Forum Jump:


Users browsing this thread: 1 Guest(s)