Help Me | Samp Server 0.3e Microsoft Visual C++ Runtime Library
#6

In public OnPlayerConnect
Insert
PHP код:
new ip[2][16];
    
GetPlayerIp(playerid,ip[0],16);
    for(new 
iGetMaxPlayers(), x!= mi++)
    {
        if(!
IsPlayerConnected(i) || == playerid) continue;
        
GetPlayerIp(i,ip[1],16);
        if(!
strcmp(ip[0],ip[1],true)) x++;
        if(
2) return Kick(i);
    } 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)