The Lab
VEHICLE native

_GET_PED_IN_DRAFT_HARNESS

returns Ped2 paramsbuild 1207

Returns the animal in harness slot harnessId of vehicle.

Signature

C
Ped _GET_PED_IN_DRAFT_HARNESS(Vehicle vehicle, int harnessId); // 0xA8BA0BAE0173457B b1207

Parameters

#NameType
1vehicleVehicle
2harnessIdint

Facts

Facts about _GET_PED_IN_DRAFT_HARNESS
Name
_GET_PED_IN_DRAFT_HARNESS
Hash
0xA8BA0BAE0173457B
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(0xA8BA0BAE0173457B, -- _GET_PED_IN_DRAFT_HARNESS
  0, -- Vehicle vehicle
  0, -- int harnessId
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xA8BA0BAE0173457B", // _GET_PED_IN_DRAFT_HARNESS
  0, // Vehicle vehicle
  0, // int harnessId
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xA8BA0BAE0173457B, // _GET_PED_IN_DRAFT_HARNESS
  0, // Vehicle vehicle
  0 // int harnessId
);
All VEHICLE natives

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