title: ArmaRAMDb - Hash Get ID icon: mdi:file-text-outline
Retrieves the value of a specific field from a hash table identified by its key. This function allows targeted access to individual fields within a specific hash table, making it ideal for accessing particular attributes of player or entity data. The retrieved data is returned through a callback function.
Parameter | Type | Description | Default |
---|---|---|---|
_key | String | Identifier of the hash table | "" |
_keyField | String | Name of the field in the hash 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
) and a specific field (_keyField
)ramdb_db_fnc_hashGet
: Retrieves a field value from the global hash tableramdb_db_fnc_hashGetAllId
: Retrieves all fields from a specific hash tableramdb_db_fnc_hashGetAll
: Retrieves all fields 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