FWB STUDIO
Visit Store
  • Fwb Studios
    • 👋Welcome to FWB STUDIOS
      • FWB STUDIOS
    • ❓Common Questions
    • ⬆️How to Get Updates On Scripts
  • FiveM Escrow Errors
    • 🛠️ERRORS
      • ⚠️Is my error caused by FiveM escrow system?
      • ❓Failed to verify protected resource
      • ❓What steps should be taken if there are still errors?
  • How To Do This
    • 🛠️Install FwB Scripts
      • 5️ESX/QB Installation
  • FS SCRIPTS
    • 🌉Bridge
      • 📋Installation
      • Logs Setup
      • Integration
        • 📖Client_Override
        • 📖Server_Override
      • ❗Common Issues
    • 💳Fraud System
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 👠Skitz
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • 🦱Weave Wear
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • ⌛Safezone Creator
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ❗Common Issues
    • 🍌Useable Foods
      • 📋Installation
      • ❗Common Issues
    • 🍕Pizza Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🍔Burger Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 📱Trap Phone
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🚗Carwipe
      • 📖[ESX/QB] Config Files
      • 📄Send Vehicle Garage
      • 📖Unlocked FIle
      • 📋Installation
      • 📖Exports
      • ❗Common Issues
    • 📦Placeables
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • Money As Item in Ox Inventory
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🚬Smoking
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🌱White Widow
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 👕Clothing As Item
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 📖Item Whitelist
      • ❗Common Issues
    • 💎Ice Box
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Switch
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Gun Jamming
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 👀Lashes Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 💅Nails Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 🕐Duty System
      • 📖[ESX] Config Files
      • 📖[QB] Config Files
      • 📋Installation
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🦱Wigs Bundle
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Create New Wigs
    • 🚗Chop Shop
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Exports (Optional)
      • ❗Copy of Common Issues
Powered by GitBook
On this page
  • Framework
  • Dependencies
  • Note:
  • Inventories Installation:
  1. FS SCRIPTS
  2. Useable Foods

Installation

Ensure all these dependencies are installed

PreviousUseable FoodsNextCommon Issues

Last updated 2 months ago

Framework

Dependencies

Resource
Install
Framework

ox_lib

required

ESX/QB

Bridge

required

ESX/QB

Note:

Useable food never work alone what ever foods are added in this script are used by our other food business scripts or any food mlo or food truck scripts please make sure to install food business if you want to use foods this is just a dependecy of our food scripts. If You still want to use this script for your own food then you have to add item in your server what ever you make and and prop related to that food in useable foods.

Inventories Installation:

  • Step 1: Install all following items into ox_inventory/data/items.lua.

["fs_drunktester"] = {
    label = "Drunk Tester",
    weight = 1,
    stack = true,
    close = true,
},
  • Step 2:

Drag fs_useablefoods into your resource folder and ensure it after ox_lib.

  • Step 3:

install any food business which you like

  • Step 1: Install all following items into ak47_inventory/shared/items.lua.

["fs_drunktester"] = {
    name = "fs_drunktester",
    label = "Drunk Tester",
    weight = 1,
    type = "item",
    close = true,
},
  • Step 2:

Go in ak47_inventory/configs/config.lua

Find this:

and add these lines at last

    -- fs_useablefoods
    Bite = true,
    Sip = true,
    Expiry = true

Finally It will Look Like:

  • Step 3:

Drag fs_useablefoods into your resource folder and ensure it after ox_lib.

  • Step 4:

install any food business which you like

  • Step 1: Install all following items into qs_inventory/shared/items.lua.

fs_drunktester = {  
    name = "fs_drunktester", 
    label = "Drunk Tester", 
    weight = 10, 
    type = 'item', 
    image = 'fs_drunktester.png', 
    unique = true, 
    useable = true, 
    shouldClose = true, 
    combinable = nil, 
    description = "This is description." 
},
  • Step 2:

Go in qs_inventory/configs/metadata.js

Find this: {see if your version has it or not}

if your are not able to find it then please at this at end of file

const tableToString = (data) => {
    let table = '<table class="table table-striped table-dark">';
    for (const [key, value] of Object.entries(data)) {
        table += `<tr><td>${key}</td><td>${value}</td></tr>`;
    }
    table += '</table>';
    return table;
}

Finally it will look like this :

-- if you not feeling fine to pasting then please contact qs inventory discord to ask this code by default its missing in inventory files.

  • Step 3:

Drag fs_useablefoods into your resource folder and ensure it after ox_lib.

  • Step 4:

install any food business which you like

  • Step 1: Install all following items into qb-inventory/data/items.lua.

fs_drunktester = {  
    name = "fs_drunktester", 
    label = "Drunk Tester", 
    weight = 10, 
    type = 'item', 
    image = 'fs_drunktester.png', 
    unique = true, 
    useable = true, 
    shouldClose = true, 
    combinable = nil, 
    description = "This is description." 
},
  • Step 2:

Drag fs_useablefoods into your resource folder and ensure it after ox_lib.

  • Step 3:

install any food business which you like

  • Step 1: Install all following items into qb-inventory/data/items.lua.

fs_drunktester = {  
    name = "fs_drunktester", 
    label = "Drunk Tester", 
    weight = 10, 
    type = 'item', 
    image = 'fs_drunktester.png', 
    unique = true, 
    useable = true, 
    shouldClose = true, 
    combinable = nil, 
    description = "This is description." 
},
  • Step 2:

Go in qb-inventory/html/app.js and go on line 398 or find this

Replace 398 line with this it with this :

let itemDescr = itemData.info.description || itemData.description;

Finally It will look like this :

  • Step 3:

Drag fs_useablefoods into your resource folder and ensure it after ox_lib.

  • Step 4:

install any food business which you like

🍌
📋
ESX
QBCore