Skip to content

GetAllDoorsStatus

Return the status of all the doors of a bank.

Argument Data Type Nedeed Default Description
bankId number - The index in the Config.Banks table
Returns
Data Type Description
table The status of all the doors in a key value pair.

Example
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