Scripting/Squirrel/Functions/Hash/HSave

From VC-MP Wiki

Jump to: navigation, search

Contents

Syntax

bool HAdd( name )

Arguments

  • name This is the name of the hash table

Example

This example will save the hash 'IPAdresses' when the script unloads.

function onScriptUnload()
{
     HSave( "IPAddresses.hsh" );	
}

Notes

The function will call when the script is unloading onScriptUnload were also used in in this example. More info about them in the corresponding pages.

Personal tools
squirrel scripting