Scripting/Server/Classes/HashTable/Save
Writes key=value lines to a file.
Syntax
ht.Save("file.txt")Arguments
- any "file.txt"
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "save" )
{
// ht is a ht handle (see HashTable)
ht.Save( 0 );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: HashTable
Categories: Server methods | HashTable