Ajuda.
#6

rsrs.

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