Skip to the content
Docs

Framework and bridges

On this page4

5CODE Loadouts ships with open bridges for framework, inventory, and notifications.

Framework

lua
Config.Framework = 'auto' -- 'auto' | 'qb-core' | 'qbx_core' | 'esx'

When set to 'auto', the script detects the framework in this order:

  1. qbx_core
  2. es_extended
  3. qb-core

Pin a specific value if you run multiple frameworks side by side.

Inventory

lua
Config.InventorySystem = 'ox_inventory' -- 'qb-inventory' | 'ox_inventory' | 'codem-inventory'

Interaction

lua
Config.InteractionMode    = 'target' -- 'target' | 'textui'
Config.InteractionDistance = 2.0

Target mode uses your installed target system. TextUI mode shows a prompt when the player is within InteractionDistance of the NPC.

Notifications

lua
Config.NotifySystem = 'ox_lib' -- 'qb' | 'ox_lib' | 'codem-notification' | 'esx'

All bridge files are open and can be edited to plug in custom frameworks, inventories, or notification systems.