# FLOCK::_IS_PED_IN_HERD

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

## Signature

```c
BOOL _IS_PED_IN_HERD(ScrHandle herdHandle, Ped ped);
```

## Parameters

- `herdHandle` (`ScrHandle`)
- `ped` (`Ped`)

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

_IS_E* - _IS_M*

*Source: VORPCORE RDR3natives*

Return whether the ped is in the herd.

## Usage

### Lua

```lua
local retval = IsPedInHerd(herdHandle, ped)

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

### JavaScript

```js
const retval = IsPedInHerd(herdHandle, ped);

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x9E13ACC38BA8F9C3, herdHandle, 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, VORPCORE RDR3natives.*
