{"hash":"0xB2A16444EAD9AE47","ns":"TASK","name":"TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY","slug":"TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY","official":true,"named":true,"luaName":"TaskGoToCoordWhileAimingAtEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped1","type":"Ped"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"ped2","type":"Ped"},{"name":"p5","type":"float"},{"name":"p6","type":"Any"},{"name":"p7","type":"float"},{"name":"p8","type":"float"},{"name":"p9","type":"Any"},{"name":"p10","type":"Any"},{"name":"p11","type":"Any"},{"name":"firingPattern","type":"Hash"},{"name":"p13","type":"int"},{"name":"p14","type":"Any"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xB2A16444EAD9AE47","gtaJhash":"0x9BD52ABD","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY.md","snippets":{"lua":"TaskGoToCoordWhileAimingAtEntity(ped1, x, y, z, ped2, p5, p6, p7, p8, p9, p10, p11, firingPattern, p13, p14)","luaInvoke":"Citizen.InvokeNative(0xB2A16444EAD9AE47, ped1, x, y, z, ped2, p5, p6, p7, p8, p9, p10, p11, firingPattern, p13, p14)","js":"TaskGoToCoordWhileAimingAtEntity(ped1, x, y, z, ped2, p5, p6, p7, p8, p9, p10, p11, firingPattern, p13, p14);","jsInvoke":"Citizen.invokeNative('0xB2A16444EAD9AE47', ped1, x + 0.0000001, y + 0.0000001, z + 0.0000001, ped2, p5 + 0.0000001, p6, p7 + 0.0000001, p8 + 0.0000001, p9, p10, p11, firingPattern, p13, p14);","csharp":"Function.Call((Hash)0xB2A16444EAD9AE47, ped1, x, y, z, ped2, p5, p6, p7, p8, p9, p10, p11, firingPattern, p13, p14);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}