The Lab
PED native

_GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO

returns Vehicle1 parambuild 1207

Returns the vehicle the draft horse is currently harnessed to.

Signature

C
Vehicle _GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO(Ped horse); // 0xE4770DA1B8FF4FD1 b1207

Parameters

#NameType
1horsePed

Facts

Facts about _GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO
Name
_GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO
Hash
0xE4770DA1B8FF4FD1
Namespace
Returns
Vehicle
Game build
1207

Examples

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

Lua
local vehicle = Citizen.InvokeNative(0xE4770DA1B8FF4FD1, -- _GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO
  PlayerPedId(), -- Ped horse
  Citizen.ResultAsInteger()
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0xE4770DA1B8FF4FD1", // _GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO
  PlayerPedId(), // Ped horse
  Citizen.resultAsInteger()
);
console.log(vehicle)
C#
int vehicle = Function.Call<int>((Hash)0xE4770DA1B8FF4FD1, // _GET_VEHICLE_DRAFT_HORSE_IS_ATTACHED_TO
  API.PlayerPedId() // Ped horse
);
All PED natives

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