Everything posted by repoluhun
Let's say I have how many weapons they put in the offer and I want to know how to PUT a specific amount of scraps in the offer, how would I do that? Let's say we have 6 weapons(each go for 0.11 scraps so the total is 6.66), how would I put in 6 scraps into 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?
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.