IP banned after relog
#1

Hello,
I made a cmd /relog with ZCMD but when someone do /relog that player's ip got banned
My script:
pawn Код:
CMD:relog(playerid, params[]) {
    new
        i = 0,
        cmd[32] = "banip "
    ;
    while(++i != 10) {
        SendClientMessage(playerid, -1, " ");
    }
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Reconnecting...");
    GetPlayerIp(playerid, cmd[6], (sizeof cmd - 6));
    SetPVarString(playerid, "reconnect", cmd[6]);
    SendRconCommand(cmd);
    return true;
}
Reply


Messages In This Thread
IP banned after relog - by VIPAwesome - 05.03.2012, 01:01
Re: IP banned after relog - by Snipa - 05.03.2012, 01:09
Re: IP banned after relog - by VIPAwesome - 05.03.2012, 07:39
Re: IP banned after relog - by VIPAwesome - 05.03.2012, 08:47
Re: IP banned after relog - by iTorran - 05.03.2012, 08:47
Re: IP banned after relog - by VIPAwesome - 05.03.2012, 08:49

Forum Jump:


Users browsing this thread: 2 Guest(s)