hashRemovehashRemoveautotoc_md260title: ArmaRAMDb - Hash Remove icon: mdi:file-text-outline excerpt: Remove a field from the current client's hash table.ramdb_db_fnc_hashRemoveDescriptionRemoves a specific field 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 hashRemoveId which requires manually specifying an ID. It deletes a single field and its associated value without affecting other fields in the client's hash table.Syntax[_keyField] call ramdb_db_fnc_hashRemove
ParametersParameter Type Description Default _keyFieldString Name of the field to be removed "" Return ValueNone. The operation runs synchronously to remove the field.ExamplesRemove a specific field:["loadout"] call ramdb_db_fnc_hashRemove;
Remove a field remotely:["playerSettings"] remoteExecCall ["ramdb_db_fnc_hashRemove", 2, false];
NotesOnly removes a single field from the current client's hash tableValidates that the key field parameter is not empty before proceedingDoes not affect other fields in the hash tableIf the field doesn't exist, the operation has no effectThis function automatically determines which hash table to use based on the caller's identityUse hashRemoveId when you need to specify a particular hash table by IDThe operation is executed immediately and synchronouslyAll operations are logged for debugging purposesRelated Functionsramdb_db_fnc_hashRemoveId: Removes a specific field from a specific hash table (when you need to specify the ID)ramdb_db_fnc_hashDelete: Removes the current client's hash tableramdb_db_fnc_hashDeleteId: Removes a specific hash tableramdb_db_fnc_hashSet: Sets a field value in the current client's hash tableramdb_db_fnc_hashGet: Retrieves a field value from the current client's hash tableLinksHash 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