Scripting/Server/Classes/HashTable/Save

Writes key=value lines to a file.

Syntax

ht.Save("file.txt")

Arguments

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.

Section: HashTable

Categories: Server methods | HashTable