# COMPENDIUM::COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM

- **Hash:** `0x4E4ACAE1C671A9DA`
- **Namespace:** COMPENDIUM
- **Runtime name (Lua/JS):** `CompendiumAnimalGetSampleInventoryItem`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1311
- **URL:** https://natives.borderlinerp.com/natives/COMPENDIUM/COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM

## Signature

```c
Any COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM(int compendiumEntry);
```

## Parameters

- `compendiumEntry` (`int`)

## Returns

`Any`

## Usage

### Lua

```lua
local retval = CompendiumAnimalGetSampleInventoryItem(compendiumEntry)

-- always available, by hash
local retval = Citizen.InvokeNative(0x4E4ACAE1C671A9DA, compendiumEntry, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = CompendiumAnimalGetSampleInventoryItem(compendiumEntry);

// by hash
const retval = Citizen.invokeNative('0x4E4ACAE1C671A9DA', compendiumEntry, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x4E4ACAE1C671A9DA, compendiumEntry);
```

*Sources: alloc8or RDR3 NativeDB.*
