_GET_PED_IN_DRAFT_HARNESS
Returns the animal in harness slot harnessId of vehicle.
Signature
Ped _GET_PED_IN_DRAFT_HARNESS(Vehicle vehicle, int harnessId); // 0xA8BA0BAE0173457B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | harnessId | int |
Facts
| 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.
local ped = Citizen.InvokeNative(0xA8BA0BAE0173457B, -- _GET_PED_IN_DRAFT_HARNESS
0, -- Vehicle vehicle
0, -- int harnessId
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xA8BA0BAE0173457B", // _GET_PED_IN_DRAFT_HARNESS
0, // Vehicle vehicle
0, // int harnessId
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xA8BA0BAE0173457B, // _GET_PED_IN_DRAFT_HARNESS
0, // Vehicle vehicle
0 // int harnessId
);Related VEHICLE natives
- _GET_NUM_DRAFT_VEHICLE_HARNESS_PED
- _ATTACH_DRAFT_VEHICLE_HARNESS_PED
- _DETACH_DRAFT_VEHICLE_HARNESS_PED
- GET_LAST_PED_IN_VEHICLE_SEAT
- GET_PED_IN_VEHICLE_SEAT
- _GET_DRAFT_VEHICLE_DESIRED_SPEED
- _GET_NUM_DRAFT_VEHICLE_LOGS
- _GET_NUM_DRAFT_VEHICLE_STRAPS
- _DETACH_DRAFT_VEHICLE_HARNESS_FROM_INDEX
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- GET_DRAFT_ANIMAL_COUNT
- GET_TIME_POSITION_IN_RECORDING
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.