# COMPENDIUM::COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME

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

## Signature

```c
void COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME(Hash animalType, BOOL disableCompendiumToast);
```

## Parameters

- `animalType` (`Hash`)
- `disableCompendiumToast` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast)

-- always available, by hash
Citizen.InvokeNative(0x725D52F26A5E9E10, animalType, disableCompendiumToast)
```

### JavaScript

```js
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast);

// by hash
Citizen.invokeNative('0x725D52F26A5E9E10', animalType, disableCompendiumToast);
```

### C#

```csharp
Function.Call((Hash)0x725D52F26A5E9E10, animalType, disableCompendiumToast);
```

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

*Sources: alloc8or RDR3 NativeDB.*
