title: ArmaRAMDb - Hash Get All ID icon: mdi:file-text-outline
Retrieves all fields and values from a specific hash table identified by its key. This function returns the complete hash table data for a specific ID through a callback function, allowing access to all stored key-value pairs associated with that ID. It's particularly useful for retrieving player-specific or entity-specific hash data.
Parameter | Type | Description | Default |
---|---|---|---|
_key | String | Identifier of the hash table to retrieve | "" |
_function | String | Name of the function to receive the retrieved data | "" |
_call | Boolean | Whether to call the function directly (true) or spawn (false) | false |
_netId | String | (Optional) NetID of the player to receive the data | "" |
None. The retrieved data is passed to the specified callback function asynchronously.
_call
parameter determines whether the function is called directly (synchronous) or spawned (asynchronous)_key
- use hashGetAll
for the global hash tableramdb_db_fnc_hashGetAll
: Retrieves all fields from the global hash tableramdb_db_fnc_hashGetId
: Retrieves a specific field value from a specific hash tableramdb_db_fnc_hashGet
: Retrieves a specific field value from the global hash tableramdb_db_fnc_hashSetId
: Sets a field value in a specific hash tableramdb_db_fnc_scheduler
: Processes the callback from the database extensionHash Delete | Hash Delete ID | Hash Get | Hash Get All | Hash Get All ID | Hash Get ID | Hash Remove | Hash Remove ID | Hash Set | Hash Set Bulk | Hash Set ID | Hash Set ID Bulk