{"hash":"0x7B6A04F98BBAFB2C","ns":"TASK","name":"TASK_MOVE_NETWORK_ADVANCED_BY_NAME_WITH_INIT_PARAMS","slug":"TASK_MOVE_NETWORK_ADVANCED_BY_NAME_WITH_INIT_PARAMS","official":true,"named":true,"luaName":"TaskMoveNetworkAdvancedByNameWithInitParams","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"moveNetworkDefName","type":"const char*"},{"name":"taskData","type":"Any*"},{"name":"xPos","type":"float"},{"name":"yPos","type":"float"},{"name":"zPos","type":"float"},{"name":"xRot","type":"float"},{"name":"yRot","type":"float"},{"name":"zRot","type":"float"},{"name":"p9","type":"int"},{"name":"p10","type":"float"},{"name":"p11","type":"int"},{"name":"p12","type":"int"},{"name":"flag","type":"int"},{"name":"p14","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["eEulerRotationOrder"],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_MOVE_NETWORK_ADVANCED_BY_NAME_WITH_INIT_PARAMS","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_MOVE_NETWORK_ADVANCED_BY_NAME_WITH_INIT_PARAMS.md","snippets":{"lua":"local taskData = TaskMoveNetworkAdvancedByNameWithInitParams(ped, moveNetworkDefName, xPos, yPos, zPos, xRot, yRot, zRot, p9, p10, p11, p12, flag, p14)","luaInvoke":"local taskData = Citizen.InvokeNative(0x7B6A04F98BBAFB2C, ped, moveNetworkDefName, Citizen.PointerValueInt(), xPos, yPos, zPos, xRot, yRot, zRot, p9, p10, p11, p12, flag, p14)","js":"const taskData = TaskMoveNetworkAdvancedByNameWithInitParams(ped, moveNetworkDefName, xPos, yPos, zPos, xRot, yRot, zRot, p9, p10, p11, p12, flag, p14);","jsInvoke":"const taskData = Citizen.invokeNative('0x7B6A04F98BBAFB2C', ped, moveNetworkDefName, Citizen.pointerValueInt(), xPos + 0.0000001, yPos + 0.0000001, zPos + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, p9, p10 + 0.0000001, p11, p12, flag, p14);","csharp":"var taskData = new OutputArgument();\nFunction.Call((Hash)0x7B6A04F98BBAFB2C, ped, moveNetworkDefName, taskData, xPos, yPos, zPos, xRot, yRot, zRot, p9, p10, p11, p12, flag, p14);\n// taskData.GetResult<int>()","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.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}