Core
config.core.lua
Config["Core"] = {
DebugEnabled = false,
/**
Out of the box support for qb-core and ESX. Any other framework you will have to configure it yourself in client/editable and server/editable files.
It doesn't require any advanced knowledge, just look at what qb-core is getting as information and replace these functions with your core's functions.
Supported Frameworks:
* qb: qb-core, https://github.com/qbcore-framework/qb-core
* esx: es_extended, https://github.com/esx-framework/esx-legacy
* custom: You can configure it yourself to work with any other framework. If you need help, open a ticket in our discord.
**/
Framework = "qb",
/**
Out of the box support for the inventories below. If you are using a custom inventory, you will have to configure it yourself in client/editable and server/editable files.
It doesn't require any advanced knowledge, just look at what qb-core is getting as information and replace these functions with your inventory's functions.
We will appreciate if you share your configuration with us so we can add it to the default configuration.
Credits will be given.
Your inventory must support Item Metadata, Closed Inventory Event, Set Metadata Function for items in a stash, Search Function for items in a stash in order for the inventory version to work:
* ox_inventory is the only inventory system that is supported out of the box. The others you will have to configure yourself.
* If your inventory system is open source with a little bit of coding knowledge you should be able to create them I guess.
* But if you can't or don't want to do it, you can set the inventory to "ox_lib" and you will use the context menu to select the GPUs and things.
Supported Inventories:
* ox_inventory - https://github.com/overextended/ox_inventory
* ox_lib - It will open a context menu with the GPUs instead of an inventory - https://github.com/overextended/ox_lib
* custom - You can configure it yourself to work with any other inventory. If you need help, open a ticket in our discord.
**/
Inventory = "ox_inventory",
-- This is mainly used for the qb-core version and if you are using qb-inventory or common scripts with qb-invetory (ps-inventory etc.)
-- It will be used the inventory exports in the locked code (for GetResourceState funciton) as well as in the client/editable files.
-- If using ox_inventory the resource must be named ox_inventory.
-- If using a custom inventory, it will be used in the locked code (for GetResourceState funciton).
-- If using ox_lib version of the inventory (configured above), this will also be used in the locked code (for GetResourceState funciton).
-- For example even if you use ox_lib version, when ordering something from the drone an inventory with the items will be opened.
InventoryResourceName = "ox_inventory", -- Resource name of the inventory system
Target = "ox", -- 'qb', 'ox', 'is_int' or 'custom' | You can edit in client/editable/target/custom.lua
-- ============================= --
--- RECOMENDED TO LEAVE AS TRUE ---
-- ============================= --
CheckForUpdates = true,
}