Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ExGetOffAirShip


            for(L2Player player : L2ObjectsStorage.getAllPlayersForIterate())
            {
              if(player != null && player.getVehicle() == airship)
              {
                activeChar.setVehicle(null);
                activeChar.broadcastPacket(new ExGetOffAirShip(activeChar, airship, activeChar.getLoc()));
                activeChar.teleToLocation(activeChar.getLoc());
              }
            }
            airship.deleteMe();
            break;
View Full Code Here


    double radian = Math.toRadians(angle - 90);
    int x = _x - (int) (100 * Math.sin(radian));
    int y = _y + (int) (100 * Math.cos(radian));
    int z = GeoEngine.getHeight(x, y, _z, activeChar.getReflection().getGeoIndex());
    activeChar.setXYZ(x, y, z);
    activeChar.broadcastPacket(new ExGetOffAirShip(activeChar, boat, new Location(x, y, z)));
  }
View Full Code Here

  }

  @Override
  public void broadcastGetOffVehicle(L2Player player, Location loc)
  {
    broadcastPacket(new ExGetOffAirShip(player, this, loc));
  }
View Full Code Here

    {
      airship.setDriver(null);
    }
    player._stablePoint = null; // TODO очень внимательно проверить, во всех ли случаях оно очищается
    player.setVehicle(null);
    player.broadcastPacket(new ExGetOffAirShip(player, airship, loc));
    player.teleToLocation(loc);
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.ExGetOffAirShip

Copyright © 2018 www.massapicom. 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.