#1

i made ban command that adds to samp.ban
85.64.167.227 [19/10/12 | 20:32:34] Nathan_King - INGAME BAN


how do i remove this line from there?
Reply
#2

Delete that line, or remove samp.ban flile and reolad bans using /rcon reloadbans.
Reply
#3

if there are 5 players banned i want to delete only the player line and reload.
Reply
#4

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
if there are 5 players banned i want to delete only the player line and reload.
Just open goddamn file and delete the line.
Reply
#5

my god..
i need acommand.
Reply
#6

/rcon unbanip [IP]
Reply
#7

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
my god..
i need acommand.
Код:
command(unban, playerid, params[])
{
    new 
          ip[32], 
          ipform[128];
    if(sscanf(params, "s[32]", ip))
    { 
        return SendClientMessage(playerid, -1, "usage: /unbanip [ip]");
    }
    format(ipform,sizeof(ipform),"unbanip %s", ip);

    SendRconCommand(ipform);

    SendRconCommand("reloadbans");
    return 1;
}
Note: you need sscanf2, and zcmd.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)