[Ajuda] Problema no /admins
#9

pawn Код:
if (!strcmp(cmdtext, "/admins", true)) {
        SendClientMessage(playerid, COLOR_ROSA, "• Administraзгo {00FFFF}Ultimate {00FF00}Life{FFFFFF} Online •");
        for(new i = 0; i <= MAX_PLAYERS; i++) {
            if(IsPlayerConnected(i) == 1 && PlayerInfo[i][pAdmin] > 0)
            {
                if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] <= 1336) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}%d{FFFFFF}] - Modo: [%s]",PlayerName(i),PlayerInfo[i][pAdmin],admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 1337) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente De Lнderes{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 1338) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente De Ediзгo{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 1339) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente Imobiliбrio{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 2800) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}SUB-DONO{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 2999) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}DONO{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
                if(PlayerInfo[i][pAdmin] == 3000) {
                    format(string, sizeof string, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}FUNDADOR{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                }
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Problema no /admins - by FlaaSShh - 16.03.2013, 18:10
Re: Problema no /admins - by HumildadeAgain - 16.03.2013, 18:21
Re: Problema no /admins - by FlaaSShh - 16.03.2013, 18:24
Re: Problema no /admins - by HumildadeAgain - 16.03.2013, 18:26
Re: Problema no /admins - by FlaaSShh - 16.03.2013, 18:29
Re: Problema no /admins - by HumildadeAgain - 16.03.2013, 18:30
Re: Problema no /admins - by FlaaSShh - 16.03.2013, 18:32
Re: Problema no /admins - by Don_Speed - 16.03.2013, 18:41
Re: Problema no /admins - by HumildadeAgain - 16.03.2013, 18:41
Re: Problema no /admins - by FlaaSShh - 16.03.2013, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)