GetContainerLockedFor
A player’s own lock on a chest (SetContainerLockedFor).
Syntax
Section titled “Syntax”GetContainerLockedFor(pid, key)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
key |
string | the chest’s key, or "*" |
Returns
Section titled “Returns”boolean | nil - their own state; nil when they have none
Example
Section titled “Example”print(GetContainerLockedFor(pid, HOUSE_CHEST))See also
Section titled “See also”SetContainerLockedFor · the Doors and containers group of the index
