danielRe Posted April 29, 2017 Report Share Posted April 29, 2017 Can I set an item name instead of an assetID? If yes, how? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 30, 2017 Report Share Posted April 30, 2017 No. Quote Link to comment Share on other sites More sharing options...
SunriseM Posted April 30, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
danielRe Posted April 30, 2017 Author Report Share Posted April 30, 2017 And how can I do it ?.) Quote Link to comment Share on other sites More sharing options...
SunriseM Posted May 1, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
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.