Hi,
is there a client API call to remove an item (durable, so Consume doesn't work for me) from player's inventory? Or I have to create my custom function in cloud script to do that?
Thank you.
Best regards,
Andrea.
Hi,
is there a client API call to remove an item (durable, so Consume doesn't work for me) from player's inventory? Or I have to create my custom function in cloud script to do that?
Thank you.
Best regards,
Andrea.
You're probably looking for server.RevokeInventoryItem
This method is available from Cloud Script or from a game server.
Under the hood, the item still exists, but the client will not be able to see or use it. For example, you will still see the item on that player, as revoked, in Game Manager.
1 Person is following this question.