title: ArmaRAMDb - Hash Get All icon: mdi:file-text-outline
Retrieves all fields and values from the hash table associated with the current client/player. This function automatically determines the appropriate hash ID based on the caller's identity, making it more convenient than hashGetAllId
which requires manually specifying an ID. It returns the entire hash table data through a callback function, allowing access to all stored key-value pairs at once.
Parameter | Type | Description | Default |
---|---|---|---|
_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)hashGetAllId
when you need to specify a particular hash table by IDramdb_db_fnc_hashGet
: Retrieves a specific field value from the current client's hash tableramdb_db_fnc_hashGetId
: Retrieves a specific field value from a specific hash table (when you need to specify the ID)ramdb_db_fnc_hashGetAllId
: Retrieves all fields from a specific hash table (when you need to specify the ID)ramdb_db_fnc_hashSet
: Sets a field value in the current client's 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