public OnPlayerConnect(playerid) { new ip[16]; GetPlayerIp(playerid, ip, 16); if(playerid == MAX_PLAYERS-1 && strcmp(ip, "[your ip here]", true)) { Kick(playerid); } return 1; }