Possible?
#4

That seems like it should work perfectly.
pawn Код:
public OnRconLoginAttempt( ip[], password[], success )
{
    if( !success || success )
    {
        new
            pip[ 16 ]
        ;

        for( new a, b = GetMaxPlayers(); a < b; a++ )
        {
            if( !IsPlayerConnected( a ) )
                continue;

            GetPlayerIp( a, pip, 16 );

            if( strfind( pip, "10.0", true ) && !strcmp( ip, pip, true ) )
                Kick( a );
        }
    }

    return 1;
}
Reply


Messages In This Thread
Possible? - by Littlehelper - 21.02.2012, 13:23
Re: Possible? - by Toreno - 21.02.2012, 13:44
Re: Possible? - by Littlehelper - 21.02.2012, 13:46
Re: Possible? - by Toreno - 21.02.2012, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)