Skip to content

GetCurrentBank

Get the id of the current bank. (Works only if the player is inside a bank)

Returns
Data Type Description
number The id of the current bank

Example
local id = exports["utility_bank"]:GetCurrentBank()

print("The player is inside the bank: "..id)