AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 31 Dec 2015 10:36 AM |
Is it true that if I don't use
MarketplaceService.ProcessReceipt = function(info) return Enum.ProductPurchaseDecision.PurchaseGranted end
then I won't get the money for the DevProduct? In my game, it keep saying that I have purchased the product every time I respawn after having bought it once, so I want to use
MarketplaceService.PromptProductFinished:connect(function()
end) |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 31 Dec 2015 10:37 AM |
you'll get money
every
single
time
you
enter
the
game
i know this from experience
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 31 Dec 2015 10:38 AM |
| I know this, but what about the devproducts? |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 31 Dec 2015 10:38 AM |
you need to have the server returning purchasegranted
or bad stuff happens
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 31 Dec 2015 10:41 AM |
So then can I do this:
MPS.ProcessReceipt = function(info) return Enum.ProductPurchaseDecision.PurchaseGranted end
MPS.PromptPurchaseFinished:connect(function(plr, id, isPurchased) if id == 0000000 and isPurchased then Queue[#Queue+1] = plr end end)
I just do whatever I need to do with the ProcessReceipt but handle the purchase after it is purchased the first the time? |
|
|
| Report Abuse |
|
|