Cards
BillyNovel opened this issue · 5 comments
BillyNovel commented
Hi there, nice work on these plugins, but with the acces one, I've this when I try to open the Cards Menu:
[ERROR] gamemodes/nutscript/plugins/access/sh_plugin.lua:223: bad argument #1 to 'pairs' (table expected, got number)
- pairs - [C]:-1
- unknown - gamemodes/nutscript/plugins/access/sh_plugin.lua:223
- func - gamemodes/nutscript/gamemode/core/libs/thirdparty/sh_netstream2.lua:155
- unknown - lua/includes/extensions/net.lua:32
And, when I try to create a card, It doesn't show up on the ground, but it adds some value in the DB.
- unknown - lua/includes/extensions/net.lua:32
tltneon commented
First of all, create a cards. Use /createcard [string "Description"] to create.
BillyNovel commented
Yeah I tried, It doesn't pop on the floor.
tltneon commented
You have to use MySQL database. First of all, import cards.sql file at your db.
chadreed93 commented
Still doesn't work.
shipstreet commented
any fix yet? i get the same issue im using a sql database and it does add the cards to it but still noting spawn and the menu gives me the same error