💿Installation

Dependencies
  • ox-lib (REQUIRED!)

  • ox_target (OPEN FILE is adaptable to any qb-target, qtarget, and so on.)

  • ox_inventory (SPECIAL FEATURES have been added to this edition. Not necessary)

  • interact (If using the TARGET SYSTEM, you won't need this.)

STEP 1: Remove Unnecessary Line, File
  • Navigate to fxmanifest.lua and remove any unnecessary framework.

    • ESX: Remove this Line

      '@qbx_core/modules/playerdata.lua'
      '@qbx_core/modules/lib.lua'
      'client/qbox.lua'
      'client/qb.lua'
      'server/qbox.lua'
      'server/qb.lua'
    • ESX: Remove this File

      esx_ambulancejob
    • QB-Core: Remove this Line

      '@qbx_core/modules/playerdata.lua'
      '@qbx_core/modules/lib.lua'
      'client/qbox.lua'
      'client/esx.lua'
      'server/qbox.lua'
      'server/esx.lua'
    • QB-Core: Remove this File

      qb_ambulancejob
    • QBox: Remove this Line

      'client/esx.lua'
      'client/qb.lua'
      'server/esx.lua'
      'server/qb.lua'
    • QBox: Remove this File

      qbx_ambulancejob
      qbx_medical
Step 2: Modify Folder
  • Check the Asset Folder for Image, Inventory Items, Database. Note: SQL is only for ESX

  • Add Images and Necessary Items to the Inventory

  • If you are using REFINE-LASTSTAND all you have to do is run it; no changes are required.

  • If you are not using my modified OX_INVENTORY then you need to do this

    #Ox_Inventory Fix 
        * Go to `ox_inventory>client.lua`
        * Find `canOpenInventory()` 
         
    ## Example_Ox
    from this:
    ```lua
        if PlayerData.dead or IsPedFatallyInjured(playerPed) then
            return shared.info('cannot open inventory', '(fatal injury)')
        end
    ```
    to this:
    ```lua
        if PlayerData.dead then
            return shared.info('cannot open inventory', '(fatal injury)')
        end
    ```
Step 3: Configuration

Reminder:

  • You can use /bedcoord command for developer mode. Video on how to use it

  • Don't forget to edit Config.Framework & Config.OxInventory

  • For Addon-Weapons don't forget to add in Config.WeaponDmg & Config.Weapons

Last updated