Open Bank/ATM
openBank(bankType, screenType)
πΉ Description
Opens the banking UI for the player. This function is used to programmatically open the bank or ATM interface depending on the context.
π§ Parameters
Name
Type
Description
bankType
string
Determines the bank type. Example values: "swiss"
or "fleeca"
screenType
string
Decides the interface to show: "bank"
for full banking, "atm"
for ATM.
π§ Usage Example
exports['kartik-banking']:openBank('fleeca', 'bank')
This will open the Fleeca bank interface with the full banking screen.
exports['kartik-banking']:openBank('swiss', 'atm')
This opens a Swiss ATM interface.
Last updated