question

Yusuf Demir avatar image
Yusuf Demir asked

Change Player Currency Via Cloud Script

Does PlayFab API supporting change the player currency directly? I don't want use Add or Substract methods, I just want directly change the player currency amount by Cloud Script

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

·
Citrus Yan avatar image
Citrus Yan answered

Sorry, we don't have such API available, currently the only way to change player's VC is by adding/subtracting. You can implement an Cloud Script function that first calculates the required number to subtract/add according to the current value and the required value, then use subtract/add API to change it accordingly.

You can also post a feature request here in this forum if you want this feature for your project, more votes can help us prioritize our work.

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.