[Ajuda] Comando /admins
#6

Consegui desenrolar hauaha

pawn Код:
CMD:admins(playerid)
{
    SendClientMessage(playerid, Vermelho, "• • • Administradores online • • •");

    new Name[50], frm[50];
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(pAdmin[i][Level] == 1)
        {
        GetPlayerName(i, Name, sizeof Name);
        format(frm,sizeof(frm), "{8FF7BF}%s | Helper", Name, pAdmin[i][Level]);
        SendClientMessage(playerid, -1, frm);
        }
        if(pAdmin[i][Level] == 2)
        {
        GetPlayerName(i, Name, sizeof Name);
        format(frm,sizeof(frm), "{00CCFF}%s | Moderador", Name, pAdmin[i][Level]);
        SendClientMessage(playerid, -1, frm);
        }
        if(pAdmin[i][Level] == 3)
        {
        GetPlayerName(i, Name, sizeof Name);
        format(frm,sizeof(frm), "{0000FF}%s | Administrador", Name, pAdmin[i][Level]);
        SendClientMessage(playerid, -1, frm);
        }
        if(pAdmin[i][Level] == 4)
        {
        GetPlayerName(i, Name, sizeof Name);
        format(frm,sizeof(frm), "{FF0000}%s | Inspetor", Name, pAdmin[i][Level]);
        SendClientMessage(playerid, -1, frm);
        }
        if(pAdmin[i][Level] == 5)
        {
        GetPlayerName(i, Name, sizeof Name);
        format(frm,sizeof(frm), "{23E605}%s | Gerente", Name, pAdmin[i][Level]);
        SendClientMessage(playerid, -1, frm);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Comando /admins - by Feelipe - 24.03.2017, 13:44
Re: Comando /admins - by G4M30V3R - 24.03.2017, 14:47
Re: Comando /admins - by vPunisheR - 24.03.2017, 15:38
Re: Comando /admins - by Feelipe - 24.03.2017, 21:02
Re: Comando /admins - by IlanZ - 24.03.2017, 21:05
Re: Comando /admins - by Feelipe - 24.03.2017, 21:15
Re: Comando /admins - by CaioTJF - 25.03.2017, 00:23
Re: Comando /admins - by vPunisheR - 25.03.2017, 02:12

Forum Jump:


Users browsing this thread: 1 Guest(s)