Server Exports#
This section provides all available server exports for the script. These functions allow developers to interact with the system from the server side, manage data, trigger actions, and integrate with other resources. Each export includes a clear description and a practical example to simplify its implementation.
CreatePlayerAccount
The CreatePlayerAccount export creates a new bank account for a player with a specified name, initial balance, and list of authorized users. This is useful for initializing custom accounts such as business or shared accounts within your banking system.
To create a new bank account for a player, pass their source ID, the desired account name, starting balance, and a table of authorized users:



