BanIP and UnBanIP Command
#3

pawn Код:
CMD:banip(playerid, params[])
{
    new
        type[ 128 ],
        string[ 128 ]
    ;
    if(sscanf(params, "s[128]", type)) SendClientMessage(playerid, -1, "Usage: /banip [IP]");
    else
    {
        format(string, sizeof(string),"banip %s", type);
        SendRconCommand(string);
        SendRconCommand("reloadbans");
    }
    return true;
}
Reply


Messages In This Thread
BanIP and UnBanIP Command - by TV94 - 04.01.2012, 10:41
Re: BanIP and UnBanIP Command - by TV94 - 05.01.2012, 08:46
Re: BanIP and UnBanIP Command - by FreshDoubleX - 05.01.2012, 09:04
Re: BanIP and UnBanIP Command - by Aprezt - 05.01.2012, 09:05
Re: BanIP and UnBanIP Command - by James Coral - 05.01.2012, 09:50
Re: BanIP and UnBanIP Command - by Boooth - 05.01.2012, 10:21
Re: BanIP and UnBanIP Command - by TV94 - 05.01.2012, 14:34

Forum Jump:


Users browsing this thread: 2 Guest(s)