Ajuda.
#2

pawn Код:
if (strcmp(cmdtext, "/admins", true) == 0)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "       Administradores       ");
        for(new i = 0; i <= MAX_PLAYERS; ++i)
        {
            if (logado[playerid] == true)
            {
                GetPlayerName(i, nome, sizeof(nome));
                if (informacoes[i][administrador] == 1)
                {
                    format(texto, sizeof(texto), "| %s | - Colaborador.", nome);
                }
                if (informacoes[i][administrador] == 2)
                {
                    format(texto, sizeof(texto), "| %s | - Moderador.", nome);
                }
                if (informacoes[i][administrador] == 3)
                {
                    format(texto, sizeof(texto), "| %s | - Organizador.", nome);
                }
                if (informacoes[i][administrador] == 4)
                {
                    format(texto, sizeof(texto), "| %s | - Administrador.", nome);
                }
                if (informacoes[i][administrador] == 5)
                {
                    format(texto, sizeof(texto), "| %s | - Dono do servidor.", nome);
                }
                SendClientMessage(playerid, 0x503C00AA, texto);
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Ajuda. - by Domozinho - 26.02.2011, 22:26
Re: Ajuda. - by Ricop522 - 26.02.2011, 22:41
Re: Ajuda. - by Domozinho - 26.02.2011, 23:05
Re: Ajuda. - by rjjj - 26.02.2011, 23:24
Re: Ajuda. - by Ricop522 - 26.02.2011, 23:25
Respuesta: Ajuda. - by zSuYaNw - 27.02.2011, 01:50
Re: Ajuda. - by Domozinho - 27.02.2011, 13:47
Re: Respuesta: Ajuda. - by Ricop522 - 27.02.2011, 14:14
Respuesta: Re: Ajuda. - by zSuYaNw - 27.02.2011, 15:36
Re: Respuesta: Re: Ajuda. - by Erick_Schultz - 27.02.2011, 15:43

Forum Jump:


Users browsing this thread: 5 Guest(s)