Squirrel/Server/Functions/HashTables/Add
From Liberty Unleashed Wiki
Syntax
HashTable.Add( data )
Arguments
- data - The info that you wish to add to the hash table, integer/float/string.
Example
function onPlayerJoin( pPlayer ) { pDataHash.Add( pPlayer.IP ); }
This example will add the player's ip to the database that just joined the server.
Notes
The function onPlayerJoin and Player.IP were used in this example, more info about it in the corresponding page.