Skip to main content
Check if the player is inside a bank.
TypeDescription
booleantrue if the player is inside a bank, false otherwise
if exports["utility_bank"]:IsInsideBank() then
    local open = exports["utility_bank"]:IsCurrentBankDoorOpen("vault")

    print("The vault door is: "..(open and "open" or "closed"))
end