Squirrel/Server/Functions/HashTables/FindHashTable

From Liberty Unleashed Wiki
Revision as of 02:18, 26 May 2010 by Force (Talk | contribs)

Jump to: navigation, search


Syntax

  1. FindHashTable( name )

Arguments

  • name - The name of the hash table to find in memory.

Example

  1.  
  2. function onPlayerJoin( pPlayer )
  3. {
  4. pHashTable <- FindHashTable( "DataHash" );
  5. }
  6.  

This example will set the pHashTable variable to be a pointer to the 'DataHash' hash table if it finds it.

Notes

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

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox