# ITEMDATABASE::_ITEMDATABASE_FILLOUT_TAG_DATA

- **Hash:** `0x5A11D6EEA17165B0`
- **Namespace:** ITEMDATABASE
- **Runtime name (Lua/JS):** `ItemdatabaseFilloutTagData`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_FILLOUT_TAG_DATA

## Signature

```c
BOOL _ITEMDATABASE_FILLOUT_TAG_DATA(Hash key, Any* outData, int* outIndex, int p3);
```

## Parameters

- `key` (`Hash`)
- `outData` (`Any*`)
- `outIndex` (`int*`)
- `p3` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval, outData, outIndex = ItemdatabaseFilloutTagData(key, p3)

-- always available, by hash
local retval, outData, outIndex = Citizen.InvokeNative(0x5A11D6EEA17165B0, key, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p3, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, outData, outIndex] = ItemdatabaseFilloutTagData(key, p3);

// by hash
const [retval, outData, outIndex] = Citizen.invokeNative('0x5A11D6EEA17165B0', key, Citizen.pointerValueInt(), Citizen.pointerValueInt(), p3, Citizen.returnResultAnyway());
```

### C#

```csharp
var outData = new OutputArgument();
var outIndex = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x5A11D6EEA17165B0, key, outData, outIndex, p3);
// outData.GetResult<int>()
// outIndex.GetResult<int>()
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
