Help for my Invsee Plugin

Discussion in 'Plugin Development' started by DevFelixlol, Jun 15, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    DevFelixlol

    Hi,
    I'm in the process of programming an Invsee plugin.
    I have created a new inventory and the slots of the players in the inventory belong to the inventory.
    How can I program that I was at the Invsee inventory, that it belongs to the player in the inventory. Would be really heard for help! LG
     
  2. Offline

    DevFelixlol

    Hey @Lars110304,
    thanks for your Help, but i know this Plugin already, and its not what im searching for.
    He used in the Plugin the Method, that he opened the Inventory of the target. I got the Slots from the target and put the items in the slots in my Inventory.
    LG
     
  3. Offline

    timtower Administrator Administrator Moderator

    @DevFelixlol Please post your code.
    Then we have a better understanding of what you are currently doing
     
  4. Offline

    DevFelixlol

  5. Offline

    timtower Administrator Administrator Moderator

    @DevFelixlol Use loops instead of 54 lines that do the exact same things but for a different slot.
    And you could give the inventory a title or something, check if it is the same.
     
  6. Offline

    mAndAle

    @DevFelixlol you can also use another loop for slot.getitem(1) and you haven't do a lot of lines
     
Thread Status:
Not open for further replies.

Share This Page