jimathy / jim-shops

QBCore QB-Menu based replacement for qb-shops
53 stars 41 forks source link

script error #51

Open LunaMcSkye opened 5 months ago

LunaMcSkye commented 5 months ago

SCRIPT ERROR: @jim-shops/shared/shared.lua:3: attempt to index a nil value (global 'Config') [ script:jim-shops] > fn (@jim-shops/shared/shared.lua:3) [ script:jim-shops] SCRIPT ERROR: @jim-shops/shared/shops.lua:283: attempt to index a nil value (global 'Config') [ script:jim-shops] > fn (@jim-shops/shared/shops.lua:283) [ script:jim-shops] SCRIPT ERROR: @jim-shops/server.lua:466: attempt to index a nil value (global 'Config') [ script:jim-shops] > fn (@jim-shops/server.lua:466) [ script:jim-shops] SCRIPT ERROR: @jim-shops/server.lua:273: attempt to index a nil value (global 'Config') [ script:jim-shops] > handler (@jim-shops/server.lua:273) [ script:jim-shops] > handler (@jim-shops/server.lua:4) [ script:jim-shops] SCRIPT ERROR: @jim-shops/server.lua:7: attempt to index a nil value (global 'Config') [ resources] Started resource jim-shops

LunaMcSkye commented 5 months ago

Config = { System = { Debug = false, -- Enable to add debug boxes and message. img = "ox-inventory/web/images/", -- Set this to your inventory

    --- FRAMEWORK OPTIONS ---
    Inv = "ox",         -- Supports "qb"    (qb-inventory) -- leave as "qb" for ps-inventory
                        -- "ox"             (ox_inventory)

    Menu = "qb",        -- Supports "qb"    (qb-menu)
                        -- "ox"             (ox_lib)
                        -- "gta"            (warmenu)

    Notify = "qb",     -- Supports "qb"    (qb-core)
                        -- "ox"             (ox_lib)
                        -- "gta"            (gta native)

    Callback = "ox",    -- Supports "qb"    (qb-core)
                        -- "ox"             (ox_ib)

    Target = "ox",      -- Supports "qb"    (qb-target)
                        -- "ox"             (ox_target)

    MenuExport = "qb-menu", -- If using "qb", what is your menu called, usually "qb-menu", "qbx-menu", "jixel-menu" etc
},