Skip to content

GetContainerLockedFor

A player’s own lock on a chest (SetContainerLockedFor).

GetContainerLockedFor(pid, key)
Parameter Type
pid number the player
key string the chest’s key, or "*"

boolean | nil - their own state; nil when they have none

print(GetContainerLockedFor(pid, HOUSE_CHEST))

SetContainerLockedFor · the Doors and containers group of the index