HashTable.Load
From Liberty Unleashed Wiki
Syntax
HashTable.Load( location )
Arguments
- location - The file path and name of the file to load the hash table from.
Example
function onScriptLoad( ) { pDataHash.Load( "Scripts/LUScript/Hashes/DataHash.hsh" ); }
This example will load the data from this file into the DataHash that is stored within the servers memory.
Notes
The function onScriptLoad was used in this example, more info about it in the corresponding page.
You must make sure that the Scripts/LUScript/Hashes directory exists before attempting to save/load from it.