public OnPlayerConnect(playerid){ if(IsPlayerNPC(playerid)) { new IP[16]; GetPlayerIp(playerid, IP, 16); if(strcmp(IP, "127.0.0.1") != 0) { Kick(playerid); } } return 1;}