{"hash":"0x316CDB5B6E8F4110","ns":"VEHICLE","name":"_ATTACH_DRAFT_VEHICLE_HARNESS_PED","slug":"_ATTACH_DRAFT_VEHICLE_HARNESS_PED","official":false,"named":true,"luaName":"AttachDraftVehicleHarnessPed","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"mount","type":"Ped"},{"name":"draft","type":"Vehicle"},{"name":"harnessId","type":"int"}],"summary":"","descriptions":[{"source":"femga","format":"pre","body":"0x316cdb5b6e8f4110 (by Anthony229)\n\nif you want to use the native to attach a horse in to a vehicle in MP\nN_0x316cdb5b6e8f4110(horse,veh)\n\nthen when you create the ped(horse) put false in p6 (i think is \"isNetwork\")\nCreatePed(pedHash, x, y, z, 0.0, false, true, true, true)\n\nThird parameter in\nCitizen.InvokeNative(0x316cdb5b6e8f4110, horse, wagon, position)\n\n(position) is an int starting from 0, where you can choose, at what position the horse should be standing, if there are two and more horses can be attached."}],"examples":[],"aliases":[],"enums":[],"related":["0xB36D3EC70963BE60"],"build":"1207","sources":["alloc8or","femga"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_ATTACH_DRAFT_VEHICLE_HARNESS_PED","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_ATTACH_DRAFT_VEHICLE_HARNESS_PED.md","snippets":{"lua":"local retval = AttachDraftVehicleHarnessPed(mount, draft, harnessId)","luaInvoke":"local retval = Citizen.InvokeNative(0x316CDB5B6E8F4110, mount, draft, harnessId, Citizen.ReturnResultAnyway())","js":"const retval = AttachDraftVehicleHarnessPed(mount, draft, harnessId);","jsInvoke":"const retval = Citizen.invokeNative('0x316CDB5B6E8F4110', mount, draft, harnessId, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x316CDB5B6E8F4110, mount, draft, harnessId);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}