Client Exports
Remember that all exports below are completely optional since Quasar Inventory will use the native events from either esx or qbcore. We do not recommend the use of modifications in the system of adding, removing or creating items in case a standalone use of the asset is not necessary.
Here you will find the list of usable exports for Quasar Inventory, you can use them if you have basic or advanced programming knowledge, we do not recommend using these if you do not have such knowledge, since the inventory will be natively compatible with your framework.
GetItemList
Gets the list of items from your entire shared/items.lua.
GetWeaponList
Gets the list of weapons from your entire shared/weapons.lua.
inInventory
Command that returns a bool if it is in open or closed inventory.
setInventoryDisabled
Boolean that allows you to enable or disable the use of inventory, useful for handcuff systems or third-party nui menus, it prevents the inventory from opening or allows it to be opened again.
getUserInventory
Gets the player items in .amount format, you can use the native getInventoryItem otherwise.
RegisterStash
Create stashes from the client side using exclusive exports, you can see more about this in Feature Guides within this same documentation.
setInClothing
Enable or disable the clothes registration loop, you can see more about this in Feature Guides within this same documentation.
WeaponWheel
Enable or disable the Weapon Wheel, Quasar Inventory will work with weapons in this system, but it is simply a specific use for mini-games like battle royale or others similar, do not use it permanently as it will not register weapons.
GetCurrentWeapon
Simple export to check the weapon on your arms, you can play with it.
Here is an example of a usage method with which we will check the durability of a weapon using this export.
Search
Search for items on the client side, with this we can find a specific item in the player's inventory using the client side.
An example of using this system would be the following.
Last updated
Was this helpful?