Jump to content

egzistas

Donator Member
  • Content Count

    211
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About egzistas

  • Rank
    Knight

Profile Information

  • Gender
    Not Telling
  1. Hey i'm trying to make a script on pvp unequip an item. i tried this code it works half the way... if(activeChar.getPvpFlag() > 0) { final L2ItemInstance face = activeChar.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FACE); if (face != null) { final L2ItemInstance[] unequipped = activeChar.getInventory().unEquipItemInBodySlotAndRecord(face.getItem().getBodyPart()); final InventoryUpdate iu = new InventoryUpdate(); for (final L2ItemInstance element : unequipped) iu.addModifiedItem(element); sendPacket(iu); } }
×