Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.VehicleStart


      {
        L2ItemInstance it = player.getInventory().getItemByItemId(t._ticketId);
        if(it != null && it.getCount() >= 1)
        {
          player.getInventory().destroyItem(it.getObjectId(), 1, false);
          player.sendPacket(new VehicleStart(this, 1));
        }
        else if(it == null && t._ticketId == 0 || player.isGM())
        {
          player.sendPacket(new VehicleStart(this, 1));
        }
        else
        {
          exitFromBoat(player);
        }
View Full Code Here


  }

  @Override
  public void broadcastVehicleStart(int state)
  {
    broadcastPacket(new VehicleStart(this, state));
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.VehicleStart

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.