esx_inventory | Only works with this es_extended
I will accept PR or do bug fixes, if you found one, just report it on section "issues". You can join on my support discord to get help.
Adds the following features
Weapons are read from the items
table with the prefix WEAPON_
. Add all usable weapons into the items
table with their limit.
Ammo for each weapon is stored in ammos
with amount of bullets, Ammos are read from the items
table with the prefix AMMO_
. Add all usable ammos into the items
table with their limit and the use of ammo can be configurable on config.lua
.
The weapon wheel is disabled for the use of hot keys. Weapons being used as items is needed in this case
Add the esx_inventory to resource folder [esx]/[inventory]
Execute SQL : esx_inventory.sql
Add the following lines to your config:
start esx_inventory
The source CSS is written in SASS, which is a superset of the CSS3 syntax. Compiling this will require some form of a SASS compiler to compile it into valid vanilla CSS that a browser (or in this case, NUI/CEF) can understand and parse. Can easily get a Visual Studio Code extension to achieve this, a good one to try is Live SASS Compiler, once installed add the below to your VSCode config and it'll compile the SCSS files into CSS and put it in the correct location.
"liveSassCompile.settings.formats": [{
"format": "compressed",
"extensionName": ".css",
"savePath": "~/../"
}]