openStash
Description
Opens a stash inventory for the given player.
Parameters
source
(number): Server-side source ID of the player.identifier
(string): Unique ID/name for the stash.data
(table): Configuration table with:label
(string, optional): Label for the stash (default:identifier
)maxweight
(number, optional): Max weight allowed (default:100000
)slots
(number, optional): Number of available slots (default:50
)
Return Value
None
Example Use Case
ps.openStash(source, "garage_1", {
label = "Garage Stash",
maxweight = 20000,
slots = 30
})
Last updated