Skip to content

vodkhard/vdk_inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdk_inventory

Resources for FiveM allowing the user to access to an inventory and for developpers to add and remove items from the inventory. It's a resource more for developers.

If you want to support me and my work : 💰Paypal💰

Requirements

  • EssentialMode

Installation

  • Download the resource here : https://github.com/vodkhard/vdk_inventory
  • Place the folder "vdk_inventory" to resources folder of FiveM
  • Execute dump.sql file in your database (will create the tables and the constraints)
  • Change your database configuration in config.lua
  • Populate the items and user user_inventory tables to test

Usage

  • For users : Press your Replay Help Button (usually 'K') to show the menu
  • For developers : Use "player:receiveItem" and "player:looseItem" events with the item id and quantity as parameters events to add or remove items from the inventory

Thanks

https://forum.fivem.net/t/release-gui-script-v0-8

For the menu

Notes

It's my first LUA script so please be indulgent with me and all valuable proposals are more than welcome.

About

FiveM inventory system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages