Skip to main content
Return the status of all the doors of a bank.
ArgumentData TypeNeededDefaultDescription
bankIdnumber-The index in the Config.Banks table
TypeDescription
tableThe status of all the doors in a key value pair.
local doors = exports["utility_bank"]:GetAllDoorsStatus(1)

for door_id, status in pairs(doors) do
    print("The status of the door", door_id, "is", status)
end