11.03.2013, 07:31
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 ); }
}