๐Ÿ“Adapt Framework

Integrate the Evidence script into your framework.

Connecting Evidence to ESX

Let's go inside the wais-evidence folder and open the Config.lua file with an editor.

Change the Config.Framework variable in the first lines of the Config file as below.

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.
}

Connecting Evidence to QBCore

Let's go inside the wais-evidence folder and open the Config.lua file with an editor.

Change the Config.Framework variable in the first lines of the Config file as below.

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"

Last updated