Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.markz3d.com/llms.txt

Use this file to discover all available pages before exploring further.

Check if the current bank door is open. (Works only if the player is inside a bank)
ArgumentData TypeNeededDefaultDescription
doorIdstring-Internal id to refer the door, generally can be one of the following values: vault, prevault, shutters
TypeDescription
booleantrue if the door is open, 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