_IS_PED_BEING_LED
Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).
Hash
0xAC5045AB7F1A34FDRuntime name
IsPedBeingLedNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_PED_BEING_LED(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).
Mirrors usage with _IS_PED_LEADING_HORSE(ped) and _GET_LED_HORSE_FROM_PED(ped).
returns true if the specified mount (horse) is currently being led by the player, otherwise false.
Usage
local retval = IsPedBeingLed(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAC5045AB7F1A34FD, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedBeingLed(ped);
// by hash
const retval = Citizen.invokeNative('0xAC5045AB7F1A34FD', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xAC5045AB7F1A34FD, 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.