[Ajuda] BUG BAN!
#10

DESBANIR IP

pawn Код:
CMD:desbanirip(playerid, params[])
{
    new IPBan[16];
    if(ContaPlayer[playerid][Admin] < 3)
        return Msg(playerid, Cinza, "Voce nao й adm level 3");
    if(sscanf(params, "s[16]", IPBan))
    return Msg(playerid, CINZA, "Use: /desbanirip [IP]");
    format(String, 40, "IPsBanidos/%s.ini", IPBan);
    if(fexist(String))
    {
        DOF2_RemoveFile(String);
        return Msg(playerid, AZUL, "IP Desbanido com sucesso, se ainda nгo desbaniu a conta dele use /desbanconta");
    }
    else
    {
        Msg(playerid, CINZA, "Esse IP nгo existe ou nгo esta banido! ");
    }
    return 1;
}
Reply


Messages In This Thread
BUG BAN! - by best95 - 04.09.2014, 16:58
Re: BUG BAN! - by View - 04.09.2014, 17:05
Re: BUG BAN! - by best95 - 04.09.2014, 17:16
Re: BUG BAN! - by MTCpyedroDN - 04.09.2014, 17:20
Re: BUG BAN! - by best95 - 04.09.2014, 17:25
Re: BUG BAN! - by View - 04.09.2014, 18:16
Re: BUG BAN! - by best95 - 04.09.2014, 18:19
Re: BUG BAN! - by ArthurxD - 04.09.2014, 19:39
Re: BUG BAN! - by best95 - 04.09.2014, 20:34
Re: BUG BAN! - by best95 - 04.09.2014, 20:39

Forum Jump:


Users browsing this thread: 4 Guest(s)