Makes a few functions like "CanAddItem" and "SetInventory" usable on stashes
Added:
"CreateInventory" - Creates a stash so it can be made ahead of time before using "OpenInventory" for things like adding items
"GetInventory" - Returns the inventory given via the identifier pram, used to things like checking what items are in a stash
"RemoveInventory" - Removes a inventory from the "Inventories" table so it wont get saved to the SQL db
Pretty much just functions useful for making and interfacing with stashes for things like custom jobs
Checklist
[x] My code fits the style guidelines.
[x] My PR fits the contribution guidelines.
[x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
Description
Makes a few functions like "CanAddItem" and "SetInventory" usable on stashes Added: "CreateInventory" - Creates a stash so it can be made ahead of time before using "OpenInventory" for things like adding items "GetInventory" - Returns the inventory given via the identifier pram, used to things like checking what items are in a stash "RemoveInventory" - Removes a inventory from the "Inventories" table so it wont get saved to the SQL db
Pretty much just functions useful for making and interfacing with stashes for things like custom jobs
Checklist