question

Opticgamer avatar image
Opticgamer asked

How to show earned items from a drop table?

I'm using bundles with drop tables and I want to know how to return what items were added to the player from the bundle they just bought. Currently I do have a viewable inventory system and have the drop tables and bundles working but I want to know how to show them. Like if I buy a bundle and I get 3 swords it says +3 swords. I want to know how to return the items obtained from a bundle.

apissdksPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JayZuo avatar image
JayZuo answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Gosen Gao avatar image
Gosen Gao answered

If you are using client API PurchaseItem, then in the response there is a parameter named BundleContents. It will show you what items will be given to the player.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.