# ITEMDATABASE::_ITEMDATABASE_DOES_ITEM_HAVE_TAG

- **Hash:** `0xFF5FB5605AD56856`
- **Namespace:** ITEMDATABASE
- **Runtime name (Lua/JS):** `ItemdatabaseDoesItemHaveTag`
- **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_DOES_ITEM_HAVE_TAG

## Signature

```c
BOOL _ITEMDATABASE_DOES_ITEM_HAVE_TAG(Hash item, Hash tag, Hash tagType);
```

## Parameters

- `item` (`Hash`)
- `tag` (`Hash`)
- `tagType` (`Hash`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = ItemdatabaseDoesItemHaveTag(item, tag, tagType)

-- always available, by hash
local retval = Citizen.InvokeNative(0xFF5FB5605AD56856, item, tag, tagType, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = ItemdatabaseDoesItemHaveTag(item, tag, tagType);

// by hash
const retval = Citizen.invokeNative('0xFF5FB5605AD56856', item, tag, tagType, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xFF5FB5605AD56856, item, tag, tagType);
```

- 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` ``.
- 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.*
