IsInsideBank

Check if the player is inside a bank.

Returns
Type
Description

boolean

true if the player is inside a bank, false otherwise

Example
if exports["utility_bank"]:IsInsideBank() then
    local open = exports["utility_bank"]:IsCurrentBankDoorOpen("vault")

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

Last updated

Was this helpful?