[Pedido] Tranformar meu /admins em dialogo
#1

eae galera vim pedir uma coisinha pra vcs й transformar meu /admins em dialogo pff!!!

pawn Код:
CMD:admins(playerid, params[])
{
    new tot;
    SendClientMessage(playerid, 0x99FF00AA, "***Admininstradores Onlines***");

    loop(i, MAX_PLAYERS) {
        if (IsPlayerConnected(i)) {
            if (PlayerInfo[i][AdminLevel] >= 1) {
                new PlayerName[MAX_PLAYER_NAME];
                GetPlayerName(i, PlayerName, sizeof(PlayerName));
                tot++;
                format(szString, sizeof(szString), "* Admin %s(%d) (Nivel: %d) (%s)", PlayerName, i, PlayerInfo[i][AdminLevel], GetLevelAdmin(i));
                SendClientMessage(playerid, 0x99FF00AA, szString);
            }
        }
    }
    if (tot == 0) {
        SendClientMessage(playerid, 0x99FF00AA, "Nгo hб admins online");
    }
    else {
        format(szString, sizeof(szString), "Hб ~~ %d ~~ Admins online..", tot);
        SendClientMessage(playerid, 0x99FF00AA, szString);
    }
    return 1;
}
Reply


Messages In This Thread
Tranformar meu /admins em dialogo - by Pietrotm2013 - 02.05.2013, 15:35
Re: Tranformar meu /admins em dialogo - by Alado - 02.05.2013, 15:37
Re: Tranformar meu /admins em dialogo - by AlucardSnow - 02.05.2013, 15:51
Re: Tranformar meu /admins em dialogo - by PT - 02.05.2013, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)