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

# Utility:BankRobbery:EnteredBank

Called when a player enters a bank (Called for server and the caller client)

<table>
  <thead>
    <tr>
      <th scope="col">
        Argument
      </th>

      <th scope="col">
        Data Type
      </th>

      <th scope="col">
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`bankId`</td>
      <td>number</td>
      <td>The index in the Config.Banks table</td>
    </tr>
  </tbody>
</table>

> [accordion] Example
>
> ```lua theme={null}
> RegisterNetEvent("Utility:BankRobbery:EnteredBank", function(bankId)
>     print("Entered bank", bankId)
> end)
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.