exports["S-Inventory"]:OpenStashInventory(uniqueid, stashid)
-- Uniqueid: A group for the Stash
-- Stashid: A unique ID for the Stash
Return/Open Player Inventory
exports["S-Inventory"]:ReturnToInventory()
Lock the Inventory for a Person
exports["S-Inventory"]:LockInventory(locked)
-- Locked: Whether the inventory of the person should be locked
Lock the Drop of Items (Preventing Duping in FFA's and Gangwars)
exports["S-Inventory"]:LockDropofItem(locked)
-- Locked: Whether the drop function of the inventory should be locked
Open a Players Inventory
exports["S-Inventory"]:ReturnToPlayerInventory(playerId)
-- PlayerID: The ID of the person which inventory should be opened
Return/Open to a Trunk
exports["S-Inventory"]:ReturnToTrunk(vehicle, glovebox)
-- Vehicle: The Vehicle where the Trunk should be opened
-- glovebox: boolean / true = Opens Glovebox / false = Opens Trunk
exports["S-Inventory"]:RegisterStash(stashid, name, maxweight, uniqueid)
-- StashID: The group ID for the stash
-- Name: Stash name
-- Maxweight: Max allowed weight in the stash
-- UniqueID: A unique ID for the Stash
Open a Stash Inventory
exports["S-Inventory"]:OpenStashInventory(targetsrc, uniqueid, stashid)
-- TargetSrc: The PlayerID where the stash should be opened
-- UniqueID: The unique ID of a registrated stash
-- StashID: The group stash name