Jump to content
McKay Development

Sending trade for specific item


chnel

Recommended Posts

Hi there, i've been trying to do a bot as hobby. All the think i've been trying to is send  a tradeoffer to my other account for spesific item. I've done it with the item id, which i get it by html code from chrome.

What i want to do is get that item id and send the offer.

Ex : i've a deagle sunset ww and i want to sent offer to myaccount2 this item for usp-s orion mw.

 

Link to comment
Share on other sites

		manager.loadUserInventory("steam64id", 730, 2, false, function (err, inventory) {
          if (err) {
            console.log(warning("[WARNING]: Couldn't load inventory of " + user + "!"));
          } else {
          for (var p = 0; p< inventory.length; p++)
					{
						if (inventory[p].name == "skinname")
						{
							console.log(inventory[p].assetid);
						}
					}
        }
        });

here is how its solved if anyone needs.

set the steam id and skin name it will write down the asset id.

Link to comment
Share on other sites

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...