> ## 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.

# SetBankDoorStatus

Sets the status of a bank door.

<div class="rounded-lg">
  <table class="w-full rounded-lg text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400">
    <thead class="thead text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
      <tr>
        <th scope="col" class="px-6 py-3 whitespace-nowrap">
          Argument
        </th>

        <th scope="col" class="px-6 py-3 whitespace-nowrap">
          Data Type
        </th>

        <th scope="col" class="px-6 py-3 whitespace-nowrap">
          Needed
        </th>

        <th scope="col" class="px-6 py-3 whitespace-nowrap">
          Default
        </th>

        <th scope="col" class="px-6 py-3 whitespace-nowrap">
          Description
        </th>
      </tr>
    </thead>

    <tbody>
      <tr class="body-item not-prose body-item bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200">
        <th class="px-6 py-4">`bankId`</th>
        <td class="px-6 py-4">number</td>
        <td class="px-6 py-4">✅</td>
        <td class="px-6 py-4">`-`</td>
        <td class="px-6 py-4">The index in the Config.Banks table</td>
      </tr>

      <tr class="body-item not-prose body-item bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200">
        <th class="px-6 py-4">`doorId`</th>
        <td class="px-6 py-4">string</td>
        <td class="px-6 py-4">✅</td>
        <td class="px-6 py-4">`-`</td>

        <td class="px-6 py-4">
          Internal id to refer the door, generally can be one of the following
          values: vault, prevault, shutters
        </td>
      </tr>

      <tr class="body-item not-prose body-item bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200">
        <th className="px-6 py-4">`status`</th>
        <td className="px-6 py-4">boolean</td>
        <td className="px-6 py-4">✅</td>
        <td className="px-6 py-4">`-`</td>

        <td className="px-6 py-4">
          True to open the door, false to close it (for shutters its inverted,
          so true = closed)
        </td>
      </tr>
    </tbody>
  </table>
</div>

<Accordion title="Example" className="w-full">
  ```lua theme={null}
  exports["utility_bank"]:SetBankDoorStatus(1, "shutters", true)
  ```
</Accordion>
