Jump to content
McKay Development

Recommended Posts

Posted (edited)
From this:

 


manager.getInventoryContents(753, 6, true, (err, inventory, currencies) => {

    inventory.forEach(item => {

        offer.addMyItem(item);

    });

    offer.send();

});

}

 

I'm trying to figure out how to add items from a different inventory sections into the same trade, for example send one single trade that contains both steam(753) and csgo(730) items.. all of the things I have tried so far seems to either send one or the other but never both.

 

 

 

edit: got it working, turned out I kept putting offer.send(); inside the bottom of the first getInventoryContents call, and not inside of the nested secondary getInventoryContents call, which was resulting in only getting the items from the first call. silly me <3

Edited by Schmaltz

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...