The Lab
VEHICLE native

_ATTACH_DRAFT_VEHICLE_HARNESS_PED

returns BOOL3 paramsbuild 1207

Harnesses the animal mount to the draft vehicle draft at slot harnessId, returning true on success.

Signature

C
BOOL _ATTACH_DRAFT_VEHICLE_HARNESS_PED(Ped mount, Vehicle draft, int harnessId); // 0x316CDB5B6E8F4110 b1207

Parameters

#NameType
1mountPed
2draftVehicle
3harnessIdint

Facts

Facts about _ATTACH_DRAFT_VEHICLE_HARNESS_PED
Name
_ATTACH_DRAFT_VEHICLE_HARNESS_PED
Hash
0x316CDB5B6E8F4110
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(0x316CDB5B6E8F4110, -- _ATTACH_DRAFT_VEHICLE_HARNESS_PED
  PlayerPedId(), -- Ped mount
  0, -- Vehicle draft
  0 -- int harnessId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x316CDB5B6E8F4110", // _ATTACH_DRAFT_VEHICLE_HARNESS_PED
  PlayerPedId(), // Ped mount
  0, // Vehicle draft
  0, // int harnessId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x316CDB5B6E8F4110, // _ATTACH_DRAFT_VEHICLE_HARNESS_PED
  API.PlayerPedId(), // Ped mount
  0, // Vehicle draft
  0 // int harnessId
);
All VEHICLE natives

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