{"hash":"0x391073B9D3CCE2BA","ns":"TASK","name":"_TASK_VEHICLE_DRIVE_TO_DESTINATION_2","slug":"_TASK_VEHICLE_DRIVE_TO_DESTINATION_2","official":false,"named":true,"luaName":"TaskVehicleDriveToDestination_2","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"speed","type":"float"},{"name":"p5","type":"int"},{"name":"p6","type":"int"},{"name":"p7","type":"float"},{"name":"p8","type":"float"}],"summary":"Tasks vehicle towards owner","descriptions":[{"source":"alloc8or","format":"text","body":"Tasks vehicle towards owner"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_TASK_VEHICLE_DRIVE_TO_DESTINATION_2","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_TASK_VEHICLE_DRIVE_TO_DESTINATION_2.md","snippets":{"lua":"TaskVehicleDriveToDestination_2(vehicle, x, y, z, speed, p5, p6, p7, p8)","luaInvoke":"Citizen.InvokeNative(0x391073B9D3CCE2BA, vehicle, x, y, z, speed, p5, p6, p7, p8)","js":"TaskVehicleDriveToDestination_2(vehicle, x, y, z, speed, p5, p6, p7, p8);","jsInvoke":"Citizen.invokeNative('0x391073B9D3CCE2BA', vehicle, x + 0.0000001, y + 0.0000001, z + 0.0000001, speed + 0.0000001, p5, p6, p7 + 0.0000001, p8 + 0.0000001);","csharp":"Function.Call((Hash)0x391073B9D3CCE2BA, vehicle, x, y, z, speed, p5, p6, p7, p8);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}