The Lab
TASK native

_IS_PED_BEING_LED

returns BOOL1 parambuild 1207

Returns true if ped is being led, for example a horse led by its reins.

Signature

C
BOOL _IS_PED_BEING_LED(Ped ped); // 0xAC5045AB7F1A34FD b1207

Parameters

#NameType
1pedPed

Facts

Facts about _IS_PED_BEING_LED
Name
_IS_PED_BEING_LED
Hash
0xAC5045AB7F1A34FD
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xAC5045AB7F1A34FD, -- _IS_PED_BEING_LED
  PlayerPedId() -- Ped ped
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xAC5045AB7F1A34FD", // _IS_PED_BEING_LED
  PlayerPedId(), // Ped ped
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xAC5045AB7F1A34FD, // _IS_PED_BEING_LED
  API.PlayerPedId() // Ped ped
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.