The Lab
TASK native

_GET_LED_HORSE_FROM_PED

returns Ped1 parambuild 1207

Returns the horse being led by ped, or 0 if none.

Signature

C
Ped _GET_LED_HORSE_FROM_PED(Ped ped); // 0xED1F514AF4732258 b1207

Parameters

#NameType
1pedPed

Facts

Facts about _GET_LED_HORSE_FROM_PED
Name
_GET_LED_HORSE_FROM_PED
Hash
0xED1F514AF4732258
Namespace
Returns
Ped
Game build
1207

Examples

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

Lua
local ped = Citizen.InvokeNative(0xED1F514AF4732258, -- _GET_LED_HORSE_FROM_PED
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xED1F514AF4732258", // _GET_LED_HORSE_FROM_PED
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xED1F514AF4732258, // _GET_LED_HORSE_FROM_PED
  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.