NPC Store System
Hi peeps,
Well i have recently bought a ton off addons and im having trouble with one of the NPC store systen addons i bought because i have added the right enitites and other stuff and when the NPC is interacted with it floods with the same LUA error
[ERROR] addons/arie-npcs/lua/autorun/client/cl_arienpcs.lua:17: bad argument #1 to 'pairs' (table expected, got nil)
- pairs - [C]:-1
- unknown - addons/arie-npcs/lua/autorun/client/cl_arienpcs.lua:17
The line of code which is apparently making errors https://pastebin.com/GYuakLzA
The owner of the script is very unresponsive and has not been replying to anyone it seems.
https://www.gmodstore.com/scripts/view/4294/anpcs-simple-npc-shops
Try https://discordapp.com/invite/mbXcbxt
Seems like arieShopNPCs might have been edited in the config. If it has you may have done it incorrectly most likely causing the error..
Heres the config https://pastebin.com/GZRsxfXQ
someone doesn't like commas
You was missing alot of closed brackets and commas in your config, here's a fixed version of it; https://pastebin.com/vXZHJgFU
Still doesnt work after the new commas
[ERROR] addons/arie-npcs/lua/autorun/client/cl_arienpcs.lua:17: bad argument #1 to 'pairs' (table expected, got nil)
- pairs - [C]:-1
- unknown - addons/arie-npcs/lua/autorun/client/cl_arienpcs.lua:17
-fixed-