[Ajuda] Bug nessa MSG
#7

pawn Код:
if (strcmp(cmd, "/limparlider", true) == 0)
    {
        new stg[100];
        if(PlayerInfo[playerid][pAdmin] < 1337)
        {
            SendClientMessage(playerid, COLOR_GRAD2, "Somente admins master ou dono podem usar este comando!");
            return true;
        }
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, COLOR_GRAD2, "USE: /limparlider [organizaзгo]");
            return true;
        }
        new Vaga2 = strval(tmp);
        if(Vaga2 < 1 || Vaga2 > 35) { SendClientMessage(playerid, COLOR_GREY, "Vaga mнnima 1, mбximo 35 !"); return true; }
        new id=GetPlayerID(InfoOrg[Vaga2][Lider]);
        format(stg, sizeof(stg), "ADMIN: %s limpou a vaga %d do lнder %s",PlayerName(playerid), Vaga2, InfoOrg[Vaga2][Lider]);
        LideresLog(stg);
        if(IsPlayerOnline(InfoOrg[Vaga2][Lider])) DemitirLider(id);
        strmid(InfoOrg[Vaga2][Lider], "Ninguem", 0, strlen("Ninguem"), 255);
        format(gstring, 128, "ORG Arquivos/Org%d.cfg", Vaga2);
        dini_Set(gstring,"Lider","Ninguem");
        new para1;
        new playa;
        format(string, sizeof(string), " {FF0000}[INFO]{FF1493}O Administrador %s Limpou o Lнder da Organizaзгo Nє %d ", PlayerName(playerid), Vaga2); // aqui a org aparece n° 74 sempre
        SendClientMessage(para1, COLOR_LIGHTBLUE, string);
        ABroadCast(COLOR_RED, string, 1); //aqui seria pra mostrar pros adms
        return true;
    }
Reply


Messages In This Thread
Bug nessa MSG - by Joey Ramone - 08.01.2013, 20:57
Re: Bug nessa MSG - by .FuneraL. - 08.01.2013, 21:07
Re: Bug nessa MSG - by VenoN - 08.01.2013, 21:07
Re: Bug nessa MSG - by Gii - 08.01.2013, 21:08
Re: Bug nessa MSG - by RebeloX - 08.01.2013, 21:10
Re: Bug nessa MSG - by Joey Ramone - 08.01.2013, 21:26
Re: Bug nessa MSG - by VenoN - 08.01.2013, 21:30
Re: Bug nessa MSG - by Gii - 08.01.2013, 21:34
Re: Bug nessa MSG - by RebeloX - 08.01.2013, 21:39
Re: Bug nessa MSG - by Gii - 08.01.2013, 21:42

Forum Jump:


Users browsing this thread: 1 Guest(s)