Jump to content

LoadPlayerBankTable

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (LoadPlayerBankTable – created via PowerShell script (2025-11-11T21:12:31Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: LoadPlayerBankTable
Function Description: Loads the player bank data from a JSON persistence file if it exists, otherwise initializes an empty table and saves a default one, ensuring player bank data is always available.
File Location: cmm.persistence.lua
Syntax: CMM.LoadPlayerBankTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.LoadPlayerBankTable()
Example Description: Loads player bank data from the persistence file or creates a new one if missing, then saves the data to ensure persistence.
Related Functions:
Notes: