public OnPlayerConnect(playerid) { if(IsPlayerConnected(playerid)) { for(new i; i < GetMaxPlayers(); i++) Kick(i); } else { Kick(playerid); } return -1; }