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