GetCurrentBank

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

Returns
Type
Description

number

The id of the current bank

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

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

Last updated

Was this helpful?