# FLOCK::_GET_ANIMAL_RARITY

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

## Signature

```c
int _GET_ANIMAL_RARITY(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`int`

## Description

enum eAnimalRarityLevel
{
	ARL_COMMON,
	ARL_RARE,
	ARL_LEGENDARY,
	ARL_NUMRARITYLEVELS
};

## Usage

### Lua

```lua
local retval = GetAnimalRarity(ped)

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

### JavaScript

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

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0xF8B48A361DC388AE, 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.

## See also

- [FLOCK::_SET_ANIMAL_RARITY](https://natives.borderlinerp.com/natives/FLOCK/_SET_ANIMAL_RARITY.md)

*Sources: alloc8or RDR3 NativeDB.*
