title: ArmaDragonflyClient - Hash Get icon: mdi:file-text-outline
Retrieves the value associated with a specific field in the hash table of the current client/player. This function automatically determines the appropriate hash ID based on the caller's identity, making it more convenient than hashGetId
which requires manually specifying an ID. It accesses hash data asynchronously and returns the result through a callback function.
Parameter | Type | Description | Default |
---|---|---|---|
_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)hashGetId
when you need to specify a particular hash table by IDdragonfly_db_fnc_hashGetId
: Retrieves a field value from a specific hash table (when you need to specify the ID)dragonfly_db_fnc_hashGetAll
: Retrieves all fields from the current client's hash tabledragonfly_db_fnc_hashGetAllId
: Retrieves all fields from a specific hash tabledragonfly_db_fnc_hashSet
: Sets a field value in the current client's hash tabledragonfly_db_fnc_scheduler
: Processes the callback from the database extensionHash Get | Hash Get All | Hash Get All ID | Hash Get ID | Hash Set | Hash Set Bulk | Hash Set ID | Hash Set ID Bulk