NumL0ck Posted August 26, 2012 Posted August 26, 2012 How make then you in combat mode, not in karma or flag, but IN COMBAT MODE. You can't use TP?
0 NumL0ck Posted August 26, 2012 Author Posted August 26, 2012 Don't working, only then i hiting mob i can teleport, but then mob hiting me i can teleport...
0 Fanky Posted August 26, 2012 Posted August 26, 2012 Don't working, only then i hiting mob i can teleport, but then mob hiting me i can teleport... you prolly placed it in a wrong place.
0 NumL0ck Posted August 26, 2012 Author Posted August 26, 2012 L2TeleportLocation list = TeleportLocationTable.getInstance().getTemplate(val); if(list != null) { //you cannot teleport to village that is in siege if(!SiegeManager.getInstance().is_teleport_to_siege_allowed() && SiegeManager.getInstance().getSiege(list.getLocX(), list.getLocY(), list.getLocZ()) != null && !player.isNoble()) { player.sendPacket(new SystemMessage(SystemMessageId.NO_PORT_THAT_IS_IN_SIGE)); return; } else if(!SiegeManager.getInstance().is_teleport_to_siege_town_allowed() && TownManager.getInstance().townHasCastleInSiege(list.getLocX(), list.getLocY()) && !player.isNoble()) { player.sendPacket(new SystemMessage(SystemMessageId.NO_PORT_THAT_IS_IN_SIGE)); return; } else if(player.isInCombat()) { player.sendMessage("Can't teleport while you are in combat!"); player.sendPacket(new ExShowScreenMessage("Can't teleport while you are in combat!", 5000)); return; }
Question
NumL0ck
How make then you in combat mode, not in karma or flag, but IN COMBAT MODE.
You can't use TP?
6 answers to this question
Recommended Posts