HashTable

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events


Syntax

  1. bool HashTable( string Name );

Arguments

  • Name - What you want to call the hash table.

Example

  1.  
  2. function onScriptLoad()
  3. {
  4. pDataHash <- HashTable( "Data" );
  5. }
  6.  

This example will create a HashTable which is called "Data" within the scripts, it can be accessed via the pDataHash global variable.

Notes

The function onScriptLoad was used in this example, more info about it in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox