> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aps-store.com/llms.txt
> Use this file to discover all available pages before exploring further.

# config.client.lua

> Client settings of aps_banking: your own notification function, the text prompt, the ATM animation and the open and close hooks.

`config/config.client.lua` holds these settings. Every option is explained in the comments below.

> [!NOTE]
>
> Runs on: **client**. This file stays editable when the resource is escrow-protected. Restart the resource after a change.

```lua theme={null}
Config = Config or {}

-- Used when Config.Notify = 'custom'.  ntype: 'success' | 'error' | 'info' | 'warning'
Config.NotifyFn = function(message, ntype)
    print(('[aps_banking] %s: %s'):format(ntype, message))
end

-- Text prompt for Config.Interaction.type = 'prompt'. Return true to replace
-- the built-in help text with your own.
Config.ShowPrompt = function(text) return false end
Config.HidePrompt = function() end

-- ATM animation. Set enabled = false if another script plays one.
Config.AtmAnimation = {
    enabled = true,
    dict    = 'amb@prop_human_atm@male@enter',
    clip    = 'enter',
    time    = 1800,
}

-- Client hooks (cosmetic only: the server checks everything again)
Config.OnBankOpen  = function() end
Config.OnBankClose = function() end
```


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