Surfing Important.

Important information for you.

Changes to fxmanifest

If you are using ox_lib change the following code

This

--Shared
shared_scripts {
    --'@ox_lib/init.lua', -- If you don't use ox_lib and you don't use ox_lib comment this. If you use ox_lib uncomment it.
    "shared/*.lua",
}

Change it like this.

--Shared
shared_scripts {
    '@ox_lib/init.lua', -- If you don't use ox_lib and you don't use ox_lib comment this. If you use ox_lib uncomment it.
    "shared/*.lua",
}

Changes for ox_lib / ox_target

Config changes for ox_lib context and ox_target

This

System = {
                     Support = 'QB', -- Support to "QB" for NEW QBCore, "OX" for ox_target/ ox_lib
                  TargetName = 'qb-target',  -- This is a change to your resource name, namely target, the original one which is QBCore
                      menu   = 'qb-menu', -- This is a change to your resource name, namely menu, the original one which is QBCore
                      close  = 'qb-menu:closeMenu', -- This is a change to your resource name, namely menu, the original one which is QBCore
  },

Change it like this.

This automatically changes the behavior of qb-menu and qb-target to the behavior of ox_lib and ox_target

System = {
                     Support = 'OX', -- Support to "QB" for NEW QBCore, "OX" for ox_target/ ox_lib
                  TargetName = 'qb-target',  -- This is a change to your resource name, namely target, the original one which is QBCore
                      menu   = 'qb-menu', -- This is a change to your resource name, namely menu, the original one which is QBCore
                      close  = 'qb-menu:closeMenu', -- This is a change to your resource name, namely menu, the original one which is QBCore
  },

Changes for ox_inventory

Config changes for ox_inventory

This

  ShopsSupport               = 'qb-inventory', -- "qb-inventory" for NEW QBCore or "ox_inventory" for Overextended Inventory
  InventorySupport           = 'false', -- If you use ox_inventory and want stores to work set this to "true"

Change it like this.

  ShopsSupport               = 'ox_inventory', -- "qb-inventory" for NEW QBCore or "ox_inventory" for Overextended Inventory
  InventorySupport           = 'true', -- If you use ox_inventory and want stores to work set this to "true"

Last updated