# ENTITY::_GET_PED_ANIMAL_TYPE

- **Hash:** `0x964000D355219FC0`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `GetPedAnimalType`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/_GET_PED_ANIMAL_TYPE

## Signature

```c
Hash _GET_PED_ANIMAL_TYPE(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`Hash`

## Description

Returns the ped's animal type hash: https://alloc8or.re/rdr3/doc/enums/eAnimalType.txt
Combine this with GET_STRING_FROM_HASH_KEY to display localized entity names

## Usage

### Lua

```lua
local retval = GetPedAnimalType(ped)

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

### JavaScript

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

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

### C#

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

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