Jace
-
Posts
3 -
Joined
-
Last visited
Posts posted by Jace
-
-
I know that we can set a message to trade offers that we send. I'm wondering how to get/extract the message in incoming trade offers.
-
I have this line for the intention of selling my card sets for his gems.manager.getUserInventoryContents(steamID.getSteamID64(), CONFIG.GEMSFROMINVENTORY, 6, true, (ERR, INV, CURR) => {if (ERR) {console.log(ERR);client.chatMessage(steamID, "Please try later");} else {if (!ERR) {for (let i = 0; i < INV.length; i++) {if (theirGems < CONFIG.ACCEPTEDGEMS.indexOf(INV.market_hash_name) >= 0) {theirGems.push(INV);}}and at the end part I have thistheirGems.amount = [n];t.addTheirItems(theirGems);instead it gets the other users whole inventory.
Get trade offer message
in node-steam-tradeoffer-manager
Posted
Got it. Thank you!