What's new

Welcome to the forum 👋, Visitor

Discover, download, and share the best FiveM scripts and Fivem mods. Find quality scripts, mods, and resources to enhance your FiveM server easily!

Guide How to Add Weapons to Ox Inventory (2025)

V.CaptainV.Captain is verified member.

Founder
Staff member
Founder
Joined
Oct 5, 2025
Messages
17
Reaction score
1
This tutorial shows you step-by-step how to properly add weapons into Ox Inventory on your QBCore server. Whether you’re migrating from qb-inventory or setting up fresh, this guide will cover everything you need so your weapons work seamlessly inside the new grid-based system.

What You’ll Learn:

  • How to define weapons inside Ox Inventory’s item files.
  • Correctly setting weight, stackable, and metadata.
  • Adding durability, decay, and custom descriptions.
  • Linking weapons with usable actions and categories.
  • Troubleshooting common mistakes (wrong hashes, missing images, etc.).
Example Weapon Item (ox_inventory format):

['weapon_pistol'] = {
label = '9mm Pistol',
description = 'Standard sidearm, lightweight and reliable.',
weight = 2500,
stackable = false,
category = 'weapons',
image = 'weapon_pistol.png',
data = {
rarity = 'common',
quality = 100,
decay = 0.005
},
actions = { 'use', 'drop', 'inspect' }
},

Why Ox Inventory Weapons?

  • Full metadata support (attachments, ammo, quality).
  • Cleaner configuration compared to qb-inventory.
  • Allows durability and item decay for realism.
  • Easier management for large custom weapon packs.
Watch the Full Tutorial Here:
This link is hidden for visitors. Please log in or register to view it.


Useful References:

  • This link is hidden for visitors. Please log in or register to view it.
Community Engagement:
Got stuck? Post your error or code snippet in the comments, and I’ll help debug. Share your custom weapon setups too—always cool to see how other servers build their armories.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back