[Ajuda] comando /admins e /contratos
#4

Quote:
Originally Posted by [BOPE]Seu._.Madruga
View Post
PHP Code:
if(strcmp(cmd"/admins"true) == 0) {
    new 
DialogAdmins[1500], bradokscount 0;
    for(new 
0<= MaiorIDi++) {
        if(
IsPlayerConnected(i) == && PlayerInfo[i][pAdmin] > 0) {
            if(
HideAdm[i] == 0) {
                
GetPlayerName(isendernamesizeof(sendername));
                new 
lolz[35], new lolz2[35];
                switch(
PlayerInfo[i][pAdmin]) {
                    case 
1: { lolz "{DAA520}Ajudante{FFFFFF}";   }
                    case 
2: { lolz "{FFA500}Moderador{FFFFFF}";  }
                    case 
3: { lolz "{FF7F50}Auxiliar{FFFFFF}";   }
                    case 
4: { lolz "{8A2BE2}Pre-Master{FFFFFF}"; }
                    case 
5: { lolz "{4B0082}Master{FFFFFF}";     }
                    case 
6: { lolz "{FFC0CB}MasterPlus{FFFFFF}"; }
                    case 
8: { lolz "{B22222}Sub-Dono{FFFFFF}";   }
                }
                
lolz PlayerInfo[i][pAdmin] == 10 && PlayerInfo[i][pSex] == "{008000}Desenvolvedor{FFFFFF}" "DONA/SCRIPTER";
                
lolz2 admtrampando[i] == "{FFCCFF}Jogando{FFFFFF}" "{FF0000}Trabalhando{FFFFFF}";
                
format(string128" %s (%s) Modo: [{FF0000}%s{FFFFFF}]\n"sendernamelolzlolz2);
                
strcat(DialogAdminsstring);
                
bradokscount++;
            }
        }
    }
    if(
bradokscount == 0) return SendClientMessage(playeridCOLOR_ORANGE"Administraзгo Offline no momento.");
     else 
ShowPlayerDialog(playerid9938DIALOG_STYLE_MSGBOX"{32CD32}Administradores Online"DialogAdmins"Ok""");
    return 
1;

Consegui mano vlw pela ajuda! Sу ficou 1 problema.
Reply


Messages In This Thread
comando /admins e /contratos - by MateGPlay - 21.10.2018, 22:10
Re: comando /admins e /contratos - by [BOPE]Seu._.Madruga - 22.10.2018, 02:18
Re: comando /admins e /contratos - by ipsLuan - 22.10.2018, 11:59
Re: comando /admins e /contratos - by MateGPlay - 23.10.2018, 00:53
Re: comando /admins e /contratos - by MateGPlay - 23.10.2018, 00:56
Re: comando /admins e /contratos - by Felipealves - 23.10.2018, 01:06
Re: comando /admins e /contratos - by MateGPlay - 23.10.2018, 01:08
Re: comando /admins e /contratos - by Felipealves - 23.10.2018, 01:48
Re: comando /admins e /contratos - by MateGPlay - 23.10.2018, 01:57
Re: comando /admins e /contratos - by ipsLuan - 23.10.2018, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)