Examples of ExGetOnAirShip


Examples of l2p.gameserver.serverpackets.ExGetOnAirShip

      }
      player._stablePoint = player.getLoc().setH(0);
      player.setVehicle(airship);
      player.setInVehiclePosition(new Location());
      player.setLoc(airship.getLoc());
      player.broadcastPacket(new ExGetOnAirShip(player, airship, player.getInVehiclePosition()));
    }
    else if(command.equalsIgnoreCase("summon"))
    {
      if(player.getClan() == null || player.getClan().getLevel() < 5)
      {
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOnAirShip

            activeChar._stablePoint = activeChar.getLoc().setH(0);
            L2AirShip airship = (L2AirShip) cha;
            activeChar.setInVehiclePosition(new Location());
            activeChar.setLoc(airship.getLoc());
            activeChar.setVehicle(airship);
            activeChar.broadcastPacket(new ExGetOnAirShip(activeChar, airship, activeChar.getInVehiclePosition()));
            break;
          }
        }
        break;
      case admin_airship_invite:
        if(activeChar.getVehicle() == null)
        {
          break;
        }
        L2Player target = null;
        L2Object obj = activeChar.getTarget();
        if(obj != null && obj.isPlayer())
        {
          target = (L2Player) obj;
          L2AirShip airship = (L2AirShip) activeChar.getVehicle();
          target.setInVehiclePosition(new Location());
          target.setLoc(airship.getLoc());
          target.setVehicle(airship);
          target.broadcastPacket(new ExGetOnAirShip(target, airship, target.getInVehiclePosition()));
        }
        break;
      case admin_airship_remove:
        for(L2Character cha : L2World.getAroundCharacters(activeChar, 1000, 1000))
        {
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOnAirShip

      }
      if(activeChar.isInVehicle() && !activeChar.getVehicle().isClanAirShip())
      {
        if(activeChar.getVehicle().isAirShip())
        {
          packets.add(new ExGetOnAirShip(activeChar, (L2AirShip) activeChar.getVehicle(), activeChar.getInVehiclePosition()));
        }
        else
        {
          packets.add(new GetOnVehicle(activeChar, (L2Ship) activeChar.getVehicle(), activeChar.getInVehiclePosition()));
        }
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOnAirShip

    }
    activeChar.stopMove();
    activeChar.setVehicle(boat);
    activeChar.setInVehiclePosition(loc);
    activeChar.setLoc(boat.getLoc());
    activeChar.broadcastPacket(new ExGetOnAirShip(activeChar, boat, loc));
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExGetOnAirShip

   * @return L2GameServerPacket
   */
  @Override
  public L2GameServerPacket getOnPacket(Playable playable, Location location)
  {
    return new ExGetOnAirShip(playable.getPlayer(), this, location);
  }
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.