RedM Natives

_IS_PED_BEING_LED

Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).

Hash0xAC5045AB7F1A34FD
Runtime nameIsPedBeingLed
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_PED_BEING_LED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

alloc8or RDR3 NativeDB

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).

VORPCORE RDR3natives

returns true if the specified mount (horse) is currently being led by the player, otherwise false.

Usage

Lua
local retval = IsPedBeingLed(ped)

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

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