PS-Inventory snippets
There are only two functions for inventories. You can find them in server/inventory/*.lua its different for many inventories.
These functions above is for ps-inventory:
One of them is giveItem function:
And the second one is canCarry function:
Also add new value into config.lua for this case:
Make new file in server/inventory/[name-of-inventory].lua
Add new enum for your inv in shared/enum.lua Just like that: Inventory = { OXInventory = 1, QBInventory = 2, ESXInventory = 3, [YOUR-INVENTORY] = 4 }
And thats it, only you need to do is change number to yours Config.InventorySystem = 4
Last updated