[AJUDA] Comando /mostrarvagas
#7

pawn Код:
if(strcmp(cmd, "/mostrarvagas", true) == 0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Use: /mostrarvagas [id]");
    giveplayerid = ReturnUser(tmp);
    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo й um admin.");
    if(IsPlayerConnected(giveplayerid))
    {
        if(ProxDetectorS(8.0, playerid, giveplayerid))
        {
            if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Vocк nao pode mostrar vagas a vocк!");
            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
            GetPlayerName(playerid, sendername, sizeof(sendername));
            SendClientMessage(playerid, COR_VERMELHO, "|__O Admin Lhe Mostrou Todas As Vagas De Lideres__|");
            format(string, sizeof(string), "Policia Militar: %s", InfoOrg[1][Lider]);
            SendClientMessage(playerid, COR_PM, string);
            format(string, sizeof(string), "ROTAM: %s", InfoOrg[2][Lider]);
            SendClientMessage(playerid, COR_PR, string);
            format(string, sizeof(string), "Exйrcito: %s", InfoOrg[3][Lider]);
            SendClientMessage(playerid, COR_EXE, string);
            format(string, sizeof(string), "Mйdicos: %s", InfoOrg[4][Lider]);
            SendClientMessage(playerid, COR_SAMU, string);
            format(string, sizeof(string), "Aztecas: %s", InfoOrg[5][Lider]);
            SendClientMessage(playerid, COR_AZTECAS, string);
            format(string, sizeof(string), "Hamas: %s", InfoOrg[6][Lider]);
            SendClientMessage(playerid, COR_HAMAS, string);
            format(string, sizeof(string), "Prefeitura: %s", InfoOrg[7][Lider]);
            SendClientMessage(playerid, COR_PRE, string);
            format(string, sizeof(string), "Hitmans: %s", InfoOrg[8][Lider]);
            SendClientMessage(playerid, COR_HITMAN, string);
            format(string, sizeof(string), "Reporteres: %s", InfoOrg[9][Lider]);
            SendClientMessage(playerid, COR_REP, string);
            format(string, sizeof(string), "Taxistas: %s", InfoOrg[10][Lider]);
            SendClientMessage(playerid, COR_TAXI, string);
            format(string, sizeof(string), "Policia Federal: %s", InfoOrg[11][Lider]);
            SendClientMessage(playerid, COR_PF, string);
            format(string, sizeof(string), "Mбfia Corleone: %s", InfoOrg[12][Lider]);
            SendClientMessage(playerid, COR_CORLEONE, string);
            format(string, sizeof(string), "Mбfia Yakuza: %s", InfoOrg[13][Lider]);
            SendClientMessage(playerid, COR_YAK, string);
            format(string, sizeof(string), "Groove: %s", InfoOrg[14][Lider]);
            SendClientMessage(playerid, COR_GRO, string);
            format(string, sizeof(string), "Al'qaeda: %s", InfoOrg[15][Lider]);
            SendClientMessage(playerid, COR_AL, string);
            format(string, sizeof(string), "Policia Civil: %s", InfoOrg[16][Lider]);
            SendClientMessage(playerid, COR_PC, string);
            format(string, sizeof(string), "Ballas: %s", InfoOrg[17][Lider]);
            SendClientMessage(playerid, COR_BALLAS, string);
            format(string, sizeof(string), "Vagos: %s", InfoOrg[18][Lider]);
            SendClientMessage(playerid, COR_VAGOS, string);
            format(string, sizeof(string), "Comando Vermelho: %s", InfoOrg[19][Lider]);
            SendClientMessage(playerid, COR_CV, string);
            format(string, sizeof(string), "PCC: %s", InfoOrg[20][Lider]);
            SendClientMessage(playerid, COLOR_DBLUE, string);
            format(string, sizeof(string), "Le Fodasticos %s", InfoOrg[21][Lider]);
            SendClientMessage(playerid, COR_FODASTICOS, string);
        }
        else return SendClientMessage(playerid, COLOR_GREY, "   O Jogador esta longe de Vocк !");
    }
    else return SendClientMessage(playerid, COLOR_GREY, "   O Jogador estб offline !");
}
Reply


Messages In This Thread
[AJUDA] Comando /mostrarvagas - by titinho557 - 13.11.2011, 15:15
Re: [AJUDA] Comando /mostrarvagas - by RebeloX - 13.11.2011, 15:53
Re: [AJUDA] Comando /mostrarvagas - by Miqueias Barros - 13.11.2011, 16:09
Re: [AJUDA] Comando /mostrarvagas - by RebeloX - 13.11.2011, 16:14
Re: [AJUDA] Comando /mostrarvagas - by titinho557 - 14.11.2011, 18:32
Re: [AJUDA] Comando /mostrarvagas - by Miqueias Barros - 14.11.2011, 22:29
Re: [AJUDA] Comando /mostrarvagas - by Pharrel - 14.11.2011, 22:36

Forum Jump:


Users browsing this thread: 2 Guest(s)