danielRe Posted April 29, 2017 Report Posted April 29, 2017 Can I set an item name instead of an assetID? If yes, how? Quote
SunriseM Posted April 30, 2017 Report Posted April 30, 2017 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. Quote
SunriseM Posted May 1, 2017 Report Posted May 1, 2017 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. Quote
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.