robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 09:42 PM |
MS.ProcessReceipt = function(receipt) if debounce then return end debounce = true PurchaseHistory:SetAsync(receipt.PlayerId,''..receipt.PlayerId..'_'..receipt.ProductId) for index, v in pairs(PurchaseTranslations) do if v == receipt.ProductId then print(''..index..': '..v) end PointsService:AwardPoints(receipt.PlayerId, PointTranslations[index]) break end debounce = false return Enum.ProductPurchaseDecision.PurchaseGranted end
I'm not sure if this would give the player points multiple times or not. -=Robo=- |
|
|
| Report Abuse |
|
|
enzo90
|
  |
| Joined: 25 Mar 2012 |
| Total Posts: 7104 |
|
|
| 10 Jun 2014 09:47 PM |
| Yes. To make sure, check the output and make sure that it wasn't run a billion times or something. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 09:55 PM |
It was. With this, though, nothing happens. -=Robo=- |
|
|
| Report Abuse |
|
|
enzo90
|
  |
| Joined: 25 Mar 2012 |
| Total Posts: 7104 |
|
|
| 10 Jun 2014 09:56 PM |
| Try making the debounce false at first then true then false again? |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 09:59 PM |
Actually. It's rewarding anyone who bought the product 10 points everytime they enter but isn't finishing processing. No error. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:16 PM |
y wont u let me help
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:22 PM |
It's not a matter of not helping. I learn nothing if I allow someone else to do the work for me. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:22 PM |
want me to teach u after
its kinda complicated with pp games to explain
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:24 PM |
| The purpus you said, cant you just use a gamepass because it seems like a 1 buy item |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:24 PM |
I'm not some beginner. I know what I'm doing. Add me on skype. robocu.3 -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:27 PM |
Don't skype random ppl srry
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:29 PM |
Don't typically follow people offering random help to problems they know nothing about, either? Don't offer if you're not going to deliver, it's a waste of time. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:31 PM |
i already see where u messed up in that script lololololol
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:31 PM |
Then please tell me what I did wrong and stop being a jerk about it. I'm not asking for a lot. -=Robo=- |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:34 PM |
Please? Been stuck on this for the better part of an hour trying various things. I can't depict the problem. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:35 PM |
1. Your working for that poxidus guy thingy
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 10 Jun 2014 10:38 PM |
Who? That has nothing to do with the script. My friend I've known for a couple of years paid me 1.2k to code a couple of things for him, this is one of them. I had thought it worked before but it rewards points upon entrance, giving me the idea it isn't returning the enum and I can't figure out why. If you're not gonna help get off the post. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:39 PM |
wanna just do a join.me and u can watch my screen and learn?
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:42 PM |
http://quickscreenshare.com/share?t=GU3wT3wGsTqTkTTYU&n=Pierce%20Townsend&s=0
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:43 PM |
nvm not that link
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Jun 2014 10:45 PM |
https://join.me/717-560-851https://join.me/717-560-851
-snowhawk51 qq |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 10:47 PM |
https://join.me/717-560-851
-snowhawk51 qq |
|
|
| Report Abuse |
|
|