Alright I just tested your plugin again in the server, there are two problems in your code.
First, change this:
PHP Code:
get_user_ip( tempid, g_iPlayersIPs[tempid], charsmax( g_iPlayersIPs[] ) );
To this:
PHP Code:
get_user_ip( tempid, g_iPlayersIPs[tempid], charsmax( g_iPlayersIPs[] ), 1 );
This will remove the port from the ip address (sometimes players join from different remote ports).. Now IP matching will be correct.
For example:
Player A ip is: 217.60.21.5:27005
Player B ip is: 217.60.21.5:27006
Your code sees that those ips are not identical because of the port number. With the new code i gave you above, it will solve this problem by removing the port from the ip address.
Second, as I told you previously, the blacking out will only work if someone issues the amx_scanips command.
You want the plugin to automatically black out screens of same ips even if no one issues the amx_scanips command.
You need to do something like including the ScanIPs procedure in the Refresh procedure or anything similar.
If you allow me, I will correct your code and post it here and then you may update your thread with the new fixed code. Overall, nice job