{"hash":"0x1E7889778264843A","ns":"TASK","name":"TASK_EXTEND_ROUTE","slug":"TASK_EXTEND_ROUTE","official":true,"named":true,"luaName":"TaskExtendRoute","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Adds a new point to the current point route.","descriptions":[{"source":"alloc8or","format":"text","body":"Adds a new point to the current point route. Call TASK_FLUSH_ROUTE before the first call to this. Call TASK_FOLLOW_POINT_ROUTE to make the Ped go the route.\n\nA maximum of 8 points can be added."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x1E7889778264843A","gtaJhash":"0x43271F69","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_EXTEND_ROUTE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_EXTEND_ROUTE.md","snippets":{"lua":"TaskExtendRoute(x, y, z)","luaInvoke":"Citizen.InvokeNative(0x1E7889778264843A, x, y, z)","js":"TaskExtendRoute(x, y, z);","jsInvoke":"Citizen.invokeNative('0x1E7889778264843A', x + 0.0000001, y + 0.0000001, z + 0.0000001);","csharp":"Function.Call((Hash)0x1E7889778264843A, x, y, z);","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."]}}