MistPay not working

1017 views
Hello, i've been editing the sh_mistpay_config.lua to add extra donation packages to the server. However, they do not show when i enter the game and type in !donate,!shop,!store

Here is the code: http://hastebin.com/amujagacez.lua

P.S:
I have both addons which enable me for the monthly VIP and perma weapons.
Same here.
Do you both have an API key set?
Yes, i downloaded the files from the donation tab. Where you get it with the API installed

+rep kys

Are there any lua errors?

Make sure lua_log_sv 1 is added to your server.cfg

Anything inside your lua_errors_server / lua_errors_client?
Nope, non at all :c
Anyway to fix it? ,,,
Hi, I'm not sure if you ever fixed this, I'm kinda assuming you did. BUT... Either way, I'll give you the fix.

Looking through your code there, I found the issue quite quickly.
On each "Package" you have this line/string:

OnlyFor = { "" },

THIS MEANS ONLY THESE ULX RANKS CAN SEE AND/OR BUY IT.

Change this line, to this:
DisabledFor = { "" },

THIS MEANS THE RANKS YOU PUT IN THERE, CAN'T SEE IT.
IF YOU DON'T PUT ANYTHING IN THERE, EVERYONE CAN SEE IT :)

Hope I helped.
- Casey
Reply