repoluhun Posted November 16, 2020 Report Share Posted November 16, 2020 How can I select an item from someone's inventory(for example select an eyelander from their inventory) and make a tradeoffer for it? How can I ask them for a specific item and give them a specific item? for example : [Ask] 2x Eyelander, [Give] 1x Scrap. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted November 16, 2020 Report Share Posted November 16, 2020 You would retrieve the other user's inventory and use addTheirItem to add their items to the offer. Quote Link to comment Share on other sites More sharing options...
repoluhun Posted November 17, 2020 Author Report Share Posted November 17, 2020 15 hours ago, Dr. McKay said: You would retrieve the other user's inventory and use addTheirItem to add their items to the offer. I know that but my problem is that I do not know how to add a specific item, could you give me an example? I know I can add an item with addTheirItem(item as const for example) but how can I specify an item to add? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.