RedM Natives

_IS_PED_IN_HERD

Return whether the ped is in the herd.

Hash0x9E13ACC38BA8F9C3
Runtime nameIsPedInHerd
NamespaceFLOCK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_PED_IN_HERD(ScrHandle herdHandle, Ped ped);

Parameters

NameTypeDescription
herdHandleScrHandle—
pedPed—

Returns BOOL

Description

alloc8or RDR3 NativeDB

_IS_E* - _IS_M*

VORPCORE RDR3natives

Return whether the ped is in the herd.

Usage

Lua
local retval = IsPedInHerd(herdHandle, ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9E13ACC38BA8F9C3, herdHandle, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedInHerd(herdHandle, ped);

// by hash
const retval = Citizen.invokeNative('0x9E13ACC38BA8F9C3', herdHandle, ped, Citizen.returnResultAnyway());
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.