Scripting/Server/Functions/HashTable
Named key/value store shared by all scripts. HashTable returns the existing one if the name is taken. Max 64.
Syntax
HashTable("name")FindHashTable("name")Arguments
- any "name"
Returns
HashTable or null
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "hashtable" )
{
local result = HashTable( 0 );
MessagePlayer( "HashTable returned: " + result, player );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Constructors for helper objects
Categories: Server functions | Constructors for helper objects