This mod has not been updated to support the WEIGHT update by ESX. It also won't for some time. Please use this previous version of ESX.
Reasoning for this is, alot of mods has not been updated and if I force mine to update no one can use mine and their old scripts.
Run this SQL if you see action impossible errors ALTER TABLE USER_INVENTORY CHANGE COLUMN count count INT(10) UNSIGNED NOT NULL
This resource is in open beta. Please report all issues to my Github or on Discord
I stream on Twitch. Come hang out and learn from me!
Download available on my repo
Thank you greatly to Alzar_tv for providing me with your front-end for mythic_inventory
- ESX_InventoryHUD (Inspiration)
Adds the following features
- Inventory Hud with Slots
- Drops with HUD
- Pay with HUD
- Give with HUD
- Hot keys 1 - 5
- Shops with HUD
- Trunks with HUD
- Glovebox with HUD
- Weapons as Items
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 disc_ammo
table however I do not support addition of ammo yet.
The weapon wheel is disabled for the use of hot keys. Weapons being used as items is needed in this case
Add to resource folder [esx]
or [disc]
Execute SQL : disc-inventoryhud.sql
Start using start disc-inventoryhud
Config.OpenControl = 289
Config.TrunkOpenControl = 47
Config.Shops = {
['My Shop Of Awesome Things'] = {
coords = vector3(44.38, -1746.76, 29.5),
items = {
{ name = "bread", price = 100, count = 10 },
{ name = "idcard", price = 1000, count = 1 },
{ name = "energy", price = 1000, count = 1 },
}
},
['My Shop Of Dark Things'] = {
coords = vector3(44.38, -1742.76, 29.5),
items = {
{ name = "weed", price = 10000, count = 10 },
{ name = "WEAPON_SNSPISTOL", price = 10000, count = 10 },
}
}
}
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": ".min.css",
"savePath": "~/../"
},
]