title: ArmaRAMDb - Get Key icon: mdi:file-text-outline
Retrieves the value of a stored key from the database. This function performs an asynchronous request to the database and passes the retrieved data to the specified callback function.
Parameter | Type | Description |
---|---|---|
_key | String | Name of the stored key to retrieve from the database |
_function | String | Name of the function to call when data is retrieved |
_call | Boolean | Whether to call the function directly (true) or spawn (false) |
_netId | String | (Optional) NetID of the player to whom the data should be returned |
None. When data is retrieved, it will be passed to the specified function. The operation runs asynchronously.
_call
parameter determines whether the callback is executed directly or spawned in a separate threadramdb_db_fnc_set
: Stores a value by keyramdb_db_fnc_delete
: Removes a value by keyramdb_db_fnc_scheduler
: Processes the callback responseDelete Key | Get Key | Set Key