I am not quite sure where to put the "Enum.CurrencyType " call in my Developer Product script. I know how to make a developer product work, but I am unsure about the placement of the CurrencyType Enum. Should I place it in the server, or client side script?
If any of you know what I am talking about, please help...
Thanks for your time & help!
You could place it in either server side or client side they both work. (assuming you know the guidelines to scripts and localscripts)
The enum goes right after equipifpurchased.
[(http://wiki.roblox.com/index.php?title=PromptProductPurchase_%28Method%29)]
local productId = 1242353 -- your item id type = 0 -- 0 = default 1 = robux 2 = tix (this is for currency type) game.Players.PlayerAdded:connect(function(player) --this would fire on player entry Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId,false,type) end)
Hope it works!