[PAID] [ESX] TP Inventory

A script by Nosmakos

No reviews yet.
[PAID] [ESX] TP Inventory main image

Full Description

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