BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 06 Jun 2014 05:36 PM |
| Do I need access or something? I have enough and I'm not getting any errors, using the exact same script as on the tutorial page. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
| |
|
togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
|
| 06 Jun 2014 06:20 PM |
| Ben you need to use the getservice ("points") |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
| |
|
|
| 07 Jun 2014 05:00 AM |
This example will offer Player Points to whoever joins. _________________________________________________ PS = game:GetService("PointsService") -- Declares the Service. PointsToAward = 10 -- Points to award when the player joins. CurrentPoints = game:GetService("PointsService"):GetAwardablePoints() -- How many points the budget haves. game.Players.PlayerAdded:connect(function(plr) if PointsToAward >= CurrentPoints then -- Checks if there are enough Points to award. print("The game haves enough points to award!") wait() PS:AwardPoints(plr.userId,PointsToAward) -- Award Points. print(""..plr.Name.." just got" ..PointsToAward) else -- If there aren't enough points... print("The game doesn't have enough points to award!") wait() end end) |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 05:25 AM |
@theluanoob
That wasn't the question you dimwit |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Jun 2014 05:38 AM |
you cant use it in studio.
|
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 05:39 AM |
@BenCrippledBastard
Is that how you call people who tries to help you? Shame on you.
Sluggy bastard. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 07 Jun 2014 06:00 AM |
I'm appalled at how nooby OP, Ben, called him a dimwit.
The question was worded horribly, and even though i know the answer, I'm not going to tell him.
You disgust me, go learn some manners. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 07 Jun 2014 06:01 AM |
| @TheLuaUser, that was really helpful! I'm going to use it. Thank you:) |
|
|
| Report Abuse |
|
|
| |
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 06:55 AM |
You didn't help me at all. You are of the kind that roams here giving pseudo help and then getting mad at people for pointing out that you're not helping them, it's pathetic really and frustrating for users that need help.
What I need is evident when reading and comprehending both the title and body of my original post. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 06:57 AM |
@VerifiedName
If I were to use it in studio I would have gotten an error but I'm assuming you were assuming that I was using studio since I pointed out that I was getting no errors. There is a thing called developer console which you can access in-game via F9 to check serverside errors as you would see them in the output in studio. |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 06:58 AM |
| Well, then, TheLua was trying to help you and he even helped me too and I also learned some new things because I haven't experimented with Player Points yet. Thank you TheLua! |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 07:00 AM |
| That's good for you then but doesn't contribute anything to this thread and honestly I couldn't care less. |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 07:02 AM |
| Don't you at least appreciate the help TheLua offered to you...? |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 07:04 AM |
| No because he did not even make an effort to respond to the question but rather copy pasted some script that was remotely related to the topic. |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 07:08 AM |
| Well, if you look into the script, he actually did help: One of the important parts was to get the type of service and TheLua had included it, the script also has the part that gives the player points. So I think TheLua has both helped you and answered the question too. |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 07:09 AM |
Your stupidity baffles me, you yourself didn't even bother to read the 2 lines of text in my original post or you wouldn't have posted what you just did.
"using the exact same script as on the tutorial page." |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 07:09 AM |
| And TheLua also exceeded your expectations which was really good |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 07:11 AM |
| You can defend him as much as you want with invalid arguments but it won't change my opinion that you two are beyond stupid. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 07 Jun 2014 07:13 AM |
| op doesnt know how to script hes not gonna know what answers he needs |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 07 Jun 2014 07:14 AM |
| smiley thinks he is edgy by using the word op and being an atr tard |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2014 07:15 AM |
Wow the negativity here, and Ben your question was not clear. "Do I need access" There is no "access", the owner of the place can freely distribute playerpoints as long as he HAS in his place. Regardless, this post had no clear question so you cannot blame the others for assuming. |
|
|
| Report Abuse |
|
|