Jump to content
McKay Development

Recommended Posts

Posted

technically you can do it. You have to iterate trough your inventory and search for the item with the name you want, get the assetid and then send the offer. you might need to fetch other data like quality, if the item is craftable, unusual effect if its unusual, etc to be sure is the item you want.

Posted

 

And how can I do it ?.)

 

User "for" to loop all your inventory, check if the name is the one you want, if it does, get its assetid and send a normal offer with it, its not that hard. If your code doesn't work put it here and i will tell you whats wrong with it.

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