View Single Post
Old 12/04/2015, 08:35 PM   #5
BleverCastard
Gangsta
 
Join Date: Dec 2011
Posts: 845
Reputation: 43
Default Re: Weird problem....

They're going to be using bots to connect if it's that quick.

PHP Code:
public OnPlayerConnect(playerid)
{
    if(
IsPlayerNPC(playerid)) {
        new 
server_IP[16];
        
format(server_IP16"127.0.0.1");

        if(
strcmp(ConnIP,server_IP,true) != 0) {
            
Ban(playerid); // Ban is the safest thing here, as if you kick, they can still flood you with endless connections
            
return 0;
        }
    } 
    return 
1;

Credit: Roperr.
__________________
Quote:
Originally Posted by Mauzen View Post
You earned 8000 euros by luring credulous people into your gingerbread house of paid-click reflinks?
BleverCastard is offline   Reply With Quote