dragonfly/docs/_site/hashes/hashSet.md
Jacob Schmidt bf951fd1f6
Some checks failed
Build / Build (push) Failing after 39s
Initial Repo Setup
2025-01-01 09:33:04 -06:00

29 lines
780 B
Markdown

# Hash Set
## Description
Set value of field in hash stored at key from DB.
## Usage
```sqf
Arguments:
0: STRING - Name of stored field in hash (default: "")
1: [ARRAY|STRING|NUMBER|BOOL] - Value to store in hash field (default: [])
Examples:
["loadout", [getUnitLoadout player]] call dragonfly_db_fnc_hashSet (Server or Singleplayer Only)
["loadout", [getUnitLoadout player]] remoteExecCall ["dragonfly_db_fnc_hashSet", 2, false] (Multiplayer Only)
```
## Links
[Hash Get](hashes/hashGet.md) |
[Hash Get ID](hashes/hashGetId.md) |
[Hash Get All](hashes/hashGetAll.md) |
[Hash Get All ID](hashes/hashGetAllId.md) |
[Hash Set](hashes/hashSet.md) |
[Hash Set ID](hashes/hashSetId.md) |
[Hash Set Bulk](hashes/hashSetBulk.md) |
[Hash Set Bulk ID](hashes/hashSetBulkId.md)