ox_inventory_addons
This resource enhances gameplay experience by providing several modules that utilize ox_inventory hooks. Each module adds unique features.
Modules
backItems
The backItems
module allows you to add items to a list that will appear attached to your character when the corresponding item is in your inventory.
- client objects synced via statebags
- full attachment and skin support
- persistent flashlights through item metadata
- supports alt models for weapons. i.e. katana weapon w/ sheath model on back
- supports non-weapon items as well. drugs, money, etc.
Zoo and others who worked on Renewed-Weaponscarry I was able to use some things from here to write this module.
thanks todragCraft
The dragCraft
module enables the creation of crafting recipes triggered by dragging two items on top of each other in the inventory.
This intuitive system simplifies the crafting process and adds an interactive element to the inventory.
itemCarry
The itemCarry
module allows you to define items in a list that your character will physically carry and play an animation when the corresponding item enters your inventory.
Getting Started
- Clone or download this repository.
- Place the resource into your FiveM server's
resources
directory. - Add
ox_inventory_addons
to yourserver.cfg
file to ensure the resource is started when the server boots up. - Customize the module configurations as per your preferences by editing the respective module files.
Dependencies
- ox_lib
- ox_inventory
Support and Contribution
For any issues, questions, or feedback, please open an issue on the GitHub repository. Contributions and pull requests may also be considered.
License
This project is licensed under the GPL-3.0 License.
Feel free to do whatever with the code, just credit me.