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

GetProductInfo() from a Developer Product?

Asked by
lomo0987 250 Moderation Voter
9 years ago

I know you can use this for anything in the catalog..

local Asset = game:GetService("MarketplaceService"):GetProductInfo(0000000)

But Developer Products aren't in the catalog.. They are only connected to the game and no one other then the owner can see the product.

1 answer

Log in to vote
1
Answered by
Merely 2122 Moderation Voter Community Moderator
9 years ago

You have to give GetProductInfo a second optional parameter.

local Product = game:GetService("MarketplaceService"):GetProductInfo(developerProductId, Enum.InfoType.Product)
0
Ah thank you! This isn't anywhere located on the wiki ),: lomo0987 250 — 9y
0
Added more information to the Developer Products page on the wiki. Merely 2122 — 9y
Ad

Answer this question