[Ajuda] Comando /administradores
#4

PHP код:
CMD:administradores(playerid)
{
    new 
string[180], ANivel[20], NenhumnAdmin[MAX_PLAYER_NAME];
    for(new 
0MAX_PLAYERSi++)
    {
        if(
Player[i][Administrador] > 0)
        {
            
GetPlayerName(inAdmin24);
            if(
Player[i][Administrador] == 1ANivel "Ajudante";
            if(
Player[i][Administrador] == 2ANivel "Moderador";
            if(
Player[i][Administrador] == 3ANivel "Administrador";
            if(
Player[i][Administrador] == 4ANivel "Programador";
            if(
Player[i][AdminOnline] == trueAdminOnline "Conectado";

            
format(stringsizeof(string), "{FFFFFF}Nome\tNнvel\tStatus\n%s\t%s\s%s"nAdminANivelAdminOnline);
            
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: 4 Guest(s)