_IS_PED_IN_HERD
Return whether the ped is in the herd.
Hash
0x9E13ACC38BA8F9C3Runtime name
IsPedInHerdNamespaceFLOCK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_PED_IN_HERD(ScrHandle herdHandle, Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
herdHandle | ScrHandle | — |
ped | Ped | — |
Returns BOOL
Description
_IS_E* - _IS_M*
Return whether the ped is in the herd.
Usage
local retval = IsPedInHerd(herdHandle, ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9E13ACC38BA8F9C3, herdHandle, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedInHerd(herdHandle, ped);
// by hash
const retval = Citizen.invokeNative('0x9E13ACC38BA8F9C3', herdHandle, ped, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.