• Pointshop VIP Points ratio
    2 replies, posted
Hi, I am trying to make so VIP's get 25% more points than a normal user, but I cannot get it to work. I get no error's. Here is the code in sv_player_extension.lua hastebin And I have this in my config: PS.Config.PointsOverTimeAmountVip = 125 Any idea why it wont work? It still gives the VIP player 100 points. (I posted my other thread in the wrong scetion I think feel free to remove it)
Couple of things I just want to check right off the bat. Is PS.Config.PointsOverTime also set to true in your config? This needs to be true to even have your config option matter. Also, is your user group in game just called "vip", or is it named something else? Make sure the name of the group is exactly "vip" or else that file you posted won't actually give them the special amount of points. By the way, this is case/space/special character sensitive. Also, just a heads up, the addon will say every time that you've gained only the 100 points, but actually will give you the 125 if you are in the "vip group" Make sure to actually check your cash gained rather than trusting what it notifies you with. If you're curious why check out line 125 of the file you linked and notice how it will always say the default pointsovertime amount even if you actually gained the "vip" amount of points. Let me know if any of this helps.
Thank you very much for your help! Yes, all the groups are correctly typed. All are lowercase etc. And points over time is indeed on true, it gives 100 points every 5 minutes. Thanks for letting me know about that, I did reset all my points and gave myself VIP in order to test, and it does only give 100 when checking the wallet. I am clueless.
Sorry, you need to Log In to post a reply to this thread.