# COMPENDIUM::COMPENDIUM_WAS_ANIMAL_OBSERVED

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

## Signature

```c
BOOL COMPENDIUM_WAS_ANIMAL_OBSERVED(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = CompendiumWasAnimalObserved(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x23B5E9C5160BC04F, ped, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = CompendiumWasAnimalObserved(ped);

// by hash
const retval = Citizen.invokeNative('0x23B5E9C5160BC04F', ped, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x23B5E9C5160BC04F, ped);
```

*Sources: alloc8or RDR3 NativeDB.*
