Custom ULX Groups using Admin tab in Pointshop error?
4 replies, posted
Ive read this thread: [url]http://facepunch.com/showthread.php?t=1330466[/url]
And ive done what it said and i get this.
[ERROR] addons/pointshop-master/lua/sh_config.lua:1: attempt to index global 'ITEM' (a nil value)
1. unknown - addons/pointshop-master/lua/sh_config.lua:1
2. include - [C]:-1
3. unknown - addons/pointshop-master/lua/autorun/pointshop.lua:28
When i run my server. So how could i fix this? Im trying to make so ULX group Owner can use the admin tab in Pointshop. And Pointshop wont open.
ITEM is being called but hasn't been initialized. I believe it relies on using a GLOBAL variable ITEM and includes each file in a directory, then copies the table or something.
You may have incorrectly edited a core file. What is the error on line 28 pointshop.lua?
On pointshop.lua it says include('sh_config.lua') So i dont really know.
That code I posted is way outdated. I'll fix it tomorrow.
[QUOTE=code_gs;45189639]That code I posted is way outdated. I'll fix it tomorrow.[/QUOTE]
Cool! Pm me a link or the code :)
Sorry, you need to Log In to post a reply to this thread.