MAX IPS.
#2

pawn Код:
new ip [ 16 ];
GetPlayerIp ( playerid, ip, 16 );
for ( new i; i < MAX_PLAYERS; i++ )
{
    new max_ips;
    new i_ip [ 16 ];
    GetPlayerIp ( playerid, i_ip, 16 );
    if ( strcmp ( ip, i_ip, true ) == 0 )
    {
        max_ips++;
    }
    if ( max_ips >= 3 ) { Kick ( playerid ); }
}
Reply


Messages In This Thread
MAX IPS. - by audriuxxx - 11.03.2013, 06:50
Re: MAX IPS. - by gabyk - 11.03.2013, 07:31
Re: MAX IPS. - by B-Matt - 11.03.2013, 07:54
Re: MAX IPS. - by audriuxxx - 12.03.2013, 11:09

Forum Jump:


Users browsing this thread: 1 Guest(s)