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

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


      {
        L2PcInstance player = (L2PcInstance) character;

        if(player.isOnline() == 1)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        }

        player = null;
      }
    }
View Full Code Here


        {
          @Override
          public void run()
          {
            player.sendMessage("You're not allowed in this zone!");
            player.teleToLocation(46525, 187585, -3512);
          }
        }, 10000);
      }
      }
    }
View Full Code Here

      {
        L2PcInstance player = (L2PcInstance) character;

        if(player.isOnline() == 1)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        }

        player = null;
      }
    }
View Full Code Here

      {
        L2PcInstance player = (L2PcInstance) character;

        if(player.isOnline() == 1)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        }

        player = null;
      }
    }
View Full Code Here

    if(character instanceof L2PcInstance)
    {
      L2PcInstance player = (L2PcInstance) character;
      if(!player.isGM() && player.isFlying() && !player.isInJail() && !_IsFlyingEnable)
      {
        player.teleToLocation(com.l2jfrozen.gameserver.datatables.csv.MapRegionTable.TeleportWhereType.Town);
      }

      if(_zoneName.equalsIgnoreCase("tradeoff"))
      {
        player.sendMessage("Trade restrictions are involved.");
View Full Code Here

      {
        L2PcInstance player = (L2PcInstance) character;

        if(player.isOnline() == 1)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        }

        player = null;
      }
    }
View Full Code Here

            return;       
        }
       
        if (!player.isGM() && player.isFlying() && !_IsFlyingEnable)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
          return;
        }
       
        // if player has been (previously) cleared by npc/ai for entry and the zone is
        // set to receive players (aka not waiting for boss to respawn)
View Full Code Here

          }
          _playersAllowed.remove(_playersAllowed.indexOf(character.getObjectId()));
        }
       
        // teleport out all players who attempt "illegal" (re-)entry
        player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        player = null;
      }
    }
  }
 
View Full Code Here

    {
      if (character instanceof L2PcInstance)
      {
        L2PcInstance player = (L2PcInstance) character;
        if (player.isOnline() == 1)
          player.teleToLocation(x, y, z);
      }
    }
  }

  @Override
View Full Code Here

      {
        L2PcInstance player = (L2PcInstance) character;

        if(player.isOnline() == 1)
        {
          player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
        }

        player = null;
      }
    }
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.