Integrate your framework.#
- Let's go inside the wais-bodycamv2 folder and open the Config.lua file with an editor.
- Change the Config.Framework variables in the Config file.
- What to write for the Framework variable.
- If you are using ESX, the Framework variable should be: ["Framework"] = "esx",
- ResourceName is the script name of the framework you are using. For example: qb-core, es_extended.
- This is the case if you are using ESX: ["ResourceName"] = "es_extended",
- This is the case if you are using QBCore: ["ResourceName"] = "qb-core",
- If your infrastructure is new, the
NewCorevariable must be@true, if not, it must be@false. ESX Legacy and QBCore are newcore. - If you are using SharedEvent old core, you can find and paste the shared event from any script or from the infrastructure itself. This is important.
Config.Framework = {
["Framework"] = "esx", -- esx or qbcore
["ResourceName"] = "es_extended", -- es_extended or qb-core or your resource name
["NewCore"] = true, -- If you use the new core, set this to true ( esx or qb ). If you are using the old one, make it false and edit the event below according to yourself.
["SharedEvent"] = "esx:getSharedObject" -- Event name for old cores.
}
Config.Framework = {
["Framework"] = "qbcore", -- esx or qbcore
["ResourceName"] = "qb-core", -- es_extended or qb-core or your resource name
["NewCore"] = true, -- If you use the new core, set this to true ( esx or qb ). If you are using the old one, make it false and edit the event below according to yourself.
["SharedEvent"] = "qb-core:getSharedObject" -- Event name for old cores.
}
If the name of the core script is different, replace the value of the [“ResourceName”] variable with the script name
[“ResourceName”] = "your core resources name"