Hello FiveM Community,
TP Inventory is fully functionable Inventory UI which provides you a very decent and nice design with everything you need on your server and of course compatible with all screen resolutions.
ππ΄πππΈππ΄πΌπ΄π½ππ
- ESX Legacy
- mysql-async or oxmysql
ππ²ππ΄π΄π½ππ·πΎππ
Trunk Inventory
Shops Inventory
Stash Inventory
π΅π΄π°ππππ΄π
-
Inventory (Using Shortcuts and Tooltip Hover Text for items or weapons displaying any kind of description / or not).
-
Bottom Side Buttons - Custom bottom side buttons (left / right) for extra actions (fully configurable).
-
Clothing Inventory System - Supports dpclothing for faster and easier actions.
-
Inventory UI Designing - Allows you to edit the notification colors, weight progress bar color, bottom center button colors (including give & drop).
-
Inventory Weight System - All the items with their weight will be manually edited in the config and not from items sql (It does not support limit). The weight system supports not only player inventory but trunk, shops & stash inventories.
-
Inventory Limit System - We are also supporting limit system for the server owners who use limit on their items (option-able).
-
Trunk Inventory.
-
Stash Inventory - A very decent and workable stash inventory for the playerβs personal inventory contents, including job inventory contents.
-
Shops Inventory - The shops are fully configurable, such as their locations, blips, jobs, ped spawning & target (ox-target, qtarget support). The items price can be modified from config where the shops products are located or directly from items sql table (if the price option is undefined).
π³π΄π π΄π»πΎπΏπΌπ΄π½π (π°πΏπΈ)
-
exports.tp_inventory_hud:openInventory('stash')
- To open the playerβs personal stash inventory contents. -
exports.tp_inventory_hud:openInventory('stash', job.name)
- To open the jobβs stash inventory contents. -
exports.tp_inventory_hud:openInventory('stash', id)
- To open a stash inventory contents based on an id, that includes motels or any kind of id that will be opened. -
exports.tp_inventory_hud:getInventoryContentsData(data)
- Returns data.contents & data.contents_weight. -
exports.tp_inventory_hud:openSecondInventory(type, data, header, sidebarHeader, hasTargetSource, targetSource, weight, maxWeight)
- Opens a secondary inventory based on its data. -
exports.tp_inventory_hud:refreshSecondInventory(type, data, header, sidebarHeader, hasTargetSource, targetSource, weight, maxWeight)
- Refresh the playerβs current and secondary inventory -
exports.tp_inventory_hud:registerStashInventory(type, data)
- This function should be used to register a custom stash / inventory by its name or id. If this stash already exists, it will not replace or register it multiple times, it can be registered only once. Also, there will be an example below how tp-advancedcrates is using it. -
exports.tp_inventory_hud:unRegisterStashInventory(type)
- This function should be used to unregister a custom stash / inventory by its name or id.
The following code is an example from tp-advancedcrates, registering & getting crate inventory contents.
ESX.TriggerServerCallback('tp-advancedcrates:getLootCrateInventory',function(cdata)
exports.tp_inventory_hud:registerStashInventory("crate", cdata)
Wait(200)
ESX.TriggerServerCallback("tp_inventory_hud:getSelectedStashInventoryContentData",function(data)
local contentsData = exports.tp_inventory_hud:getInventoryContentsData(data)
local maxLootWeight = 10000
exports.tp_inventory_hud:openSecondInventory("crate", contentsData.contents, "Crate Inventory", "Crate Inventory", false, 0, contentsData.contents_weight, maxLootWeight)
end, "crate")
end)
π³π΄π΅π°ππ»π πππΏπΏπΎπππ΄π³ π»πΎπ²π°π»π΄π
- en (English)
- gr (Greek)
Those are the supported locales which you can use for your server. In order to select a locale, the locale can be changed where config.js file is located.
πππΏπΏπΎππ
If the script doesnβt work properly or you donβt know how to set it up properly, the team will happily assist you.
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 2000+ |
Requirements | ESX Legacy |
Support | Yes |
PRICE: 14.99β¬ (WITHOUT VAT / TAX)
Click the following for purchasing it from tebex: Tebex