Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Developer Products info?

Asked by 10 years ago

I am confused on developer products. How would you script so that a player could buy one from a gui? I would also like help on converting this money to pp (player points) if anyone knows how to. Thanks.

1 answer

Log in to vote
0
Answered by
yurhomi10 192
10 years ago

Basically, :PromptProductPurchase (player, id) method is how you would prompt a player to purchase something.

ProcessReceipt callback is also used to follow up on any incoming/completed purchases. It has many contents including what was purchases (id only), currency and such. There are others that can be explored here.

http://wiki.roblox.com/index.php?title=ProcessReceipt_(Callback)

Ad

Answer this question