question

Kazu avatar image
Kazu asked

How to use Economy v2 on legacy CloudScript?

Hi.
I am trying to use Economy v2 on legacy CloudScript.
I tried the following implementation, but it did not work.

// sample1
server.SubtractInventoryItems({ ...snip });

// sample2
inventory.SubtractInventoryItems({ ...snip });

// sample3
economy.SubtractInventoryItems({ ...snip });

Is there any way to use Economy v2 on legacy CloudScript?
If not, is there a plan to make it available in the future?

CloudScriptIn-Game Economy
10 |1200

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

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

Since Legacy CloudScript no longer adds new features, you may not be able to use Economy V2 on legacy CloudScript. And if you want to implement function with Economy V2 on server-side, we recommend using Cloud Script Azure Function instead.

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.