tltneon/nsplugins

Cards

BillyNovel opened this issue · 5 comments

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)

  1. pairs - [C]:-1
    1. unknown - gamemodes/nutscript/plugins/access/sh_plugin.lua:223
    2. func - gamemodes/nutscript/gamemode/core/libs/thirdparty/sh_netstream2.lua:155
      1. 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.

First of all, create a cards. Use /createcard [string "Description"] to create.

Yeah I tried, It doesn't pop on the floor.

You have to use MySQL database. First of all, import cards.sql file at your db.

Still doesn't work.

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