Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()


    {
      try
      {
        L2PcInstance pc = L2World.getInstance().getPlayer(it.next().toString());
        pc.setTitle(L2Event.names.get(team));
        pc.teleToLocation(activeChar.getX(), activeChar.getY(), activeChar.getZ(), true);
      }
      catch(Exception e)
      {
        if(Config.ENABLE_ALL_EXCEPTIONS)
          e.printStackTrace();
View Full Code Here


    {
      try
      {
        L2PcInstance target = L2World.getInstance().getPlayer(it.next().toString());
        target.getPoly().setPolyInfo("npc", id);
        target.teleToLocation(target.getX(), target.getY(), target.getZ(), true);

        CharInfo info1 = new CharInfo(target);
        target.broadcastPacket(info1);

        UserInfo info2 = new UserInfo(target);
View Full Code Here

        target.setTitle(target.eventTitle);
        target.setKarma(target.eventKarma);
        target.setPvpKills(target.eventPvpKills);
        target.setPkKills(target.eventPkKills);
        target.teleToLocation(target.eventX, target.eventY, target.eventZ, true);
        target.kills.clear();
        target.eventSitForced = false;
        target.atEvent = false;
        target = null;
      }
View Full Code Here

                           L2PcInstance player = L2World.getInstance().getPlayer(targetName);
                           if (player != null)
                             {
                                 Location loc = MapRegionTable.getInstance().getTeleToLocation(player, MapRegionTable.TeleportWhereType.Town);
                               player.setInstanceId(0);
                                 player.teleToLocation(loc, true);
                             }
                             else
                                 activeChar.sendMessage("User is not online.");
                         }
                         catch (StringIndexOutOfBoundsException e)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.