title: ArmaRAMDb - List Remove icon: mdi:file-text-outline
Removes a specific element from a list stored at a specified key in the RAMDb database. This function allows for precise control over list content by targeting individual elements by their index, without affecting other elements in the list. This is particularly useful for removing outdated or no longer needed entries.
Parameter | Type | Description | Default |
---|---|---|---|
_key | String | The key identifying the list from which to remove an element | "" |
_index | Number | The zero-based index of the element to remove from the list | -1 |
None. The operation runs synchronously to remove the element immediately.
Remove the first element from an event log:
Remove a specific player record:
Remove an element from a multiplayer environment:
_key
parameter must be a non-empty string, otherwise the function will exit without performing any action.ramdb_db_fnc_listAdd
: Adds an element to a listramdb_db_fnc_listGet
: Retrieves a specific element from a listramdb_db_fnc_listLoad
: Retrieves a range of elements from a listramdb_db_fnc_listSet
: Replaces a specific element in a listramdb_db_fnc_listDelete
: Deletes an entire listramdb_db_fnc_scheduler
: Processes the callback from the database extensionList Add | List Delete | List Get | List Load | List Remove | List Set