Range ban
#1

Hello guys

i have been wondering how to range ban players i have a /banip command i was wondering if you can edit it for me and transform it to range ban help will be appriciated

pawn Код:
CMD:banip(playerid, params[])
{
    new id, reason[50], string[128], banned[MAX_PLAYER_NAME];
    if(pInfo[playerid][Adminlevel] >= 3)
    if(sscanf(params, "us[50]", id, reason))return SendClientMessage(playerid, -1, "USAGE: /banip [playerid] [reason(optional)]");
    GetPlayerName(id, banned, sizeof(banned));
    format(string, sizeof(string), "[DarkyBot]%s has been banned by %s. reason: %s", banned, GetName(playerid), reason);
    SendClientMessageToAll(COLOR_RED, string);
    BanEx(id, reason);
    return 1;
}

Thanks.
Reply


Messages In This Thread
Range ban - by DarkLored - 13.02.2014, 23:35
Re: Range ban - by Threshold - 14.02.2014, 00:34
Re: Range ban - by DarkLored - 14.02.2014, 00:43

Forum Jump:


Users browsing this thread: 3 Guest(s)