[Ajuda] /admins
#3

Quote:
Originally Posted by InsaneBR
Посмотреть сообщение
PHP код:
if(!strcmp(cmd"/admins"true) || !strcmp(cmd"/mods"true) || !strcmp(cmd"/administradores"true) || !strcmp(cmd"/moderadores"true))
    {
        new 
admladmmdrhlp,
            
crgContarAdminsdialogstStr[120], Teste[30];
        foreach(
Playeri)
        {
            if(
aInfo[i][Admin] == || aInfo[i][Moderador] == || aInfo[i][Ajudante] == 1)
            {
                if(
aInfo[i][Oculto] == false)
                {
                     
adml++;
                     
formatstringsizeof( string ), "Admin\tCargo\tStatus\n{1E90FF}%s \t%s \tOnline\n",PlayerName),Cargo), );
                     
strcat(Strstring);
                     
format(Testesizeof(Teste), "{FFFFFF}Admins Online [%d]"adml);
                     
ShowPlayerDialog(playerid,657,DIALOG_STYLE_TABLIST_HEADERSTesteStr"Okay""");
                }
            }
        }
        if(
adm == && mdr == && adml == && hlp == && crg == 0) return ShowPlayerDialog(playerid5000DIALOG_STYLE_MSGBOX"{FFFFFF}Admins Online [ {FF0000}0{FFFFFF} ]""{FF0000}Nбo hб administrador ( ADM ) online no momento!'""Fechar"""); 
Muito obrigado amigo.
Reply


Messages In This Thread
/admins - by KaioL - 16.07.2018, 14:34
Re: /admins - by InsaneBR - 16.07.2018, 14:49
Re: /admins - by KaioL - 16.07.2018, 14:52
Re: /admins - by KaioL - 16.07.2018, 15:16
Re: /admins - by bruxo00 - 16.07.2018, 15:57
Re: /admins - by KaioL - 16.07.2018, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)