381382383384385386387388389390391
try { for (L2PcInstance player : activeChar.getKnownList().getKnownPlayers().values()) { player.setTeam(0); player.broadcastUserInfo(); } } catch (Exception e){} } else if (command.startsWith("admin_setteam_close"))
403404405406407408409410411412413
{ SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2); sm.addString("You have joined team " + teamVal); player.sendPacket(sm); } player.broadcastUserInfo(); } } } catch (Exception e) {
428429430431432433434435436437438
{ SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2); sm.addString("You have joined team " + teamVal); player.sendPacket(sm); } player.broadcastUserInfo(); } else if (command.startsWith("admin_social")) { try {