{"hash":"0xA9DA48FAB8A76C12","ns":"TASK","name":"TASK_GOTO_ENTITY_AIMING","slug":"TASK_GOTO_ENTITY_AIMING","official":true,"named":true,"luaName":"TaskGotoEntityAiming","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"target","type":"Entity"},{"name":"distanceToStopAt","type":"float"},{"name":"StartAimingDist","type":"float"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"ped = Ped you want to perform this task.\ntarget = the Entity they should aim at.\ndistanceToStopAt = distance from the target, where the ped should stop to aim.\nStartAimingDist = distance where the ped should start to aim."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xA9DA48FAB8A76C12","gtaJhash":"0xF1C493CF","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_GOTO_ENTITY_AIMING","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_GOTO_ENTITY_AIMING.md","snippets":{"lua":"TaskGotoEntityAiming(ped, target, distanceToStopAt, StartAimingDist)","luaInvoke":"Citizen.InvokeNative(0xA9DA48FAB8A76C12, ped, target, distanceToStopAt, StartAimingDist)","js":"TaskGotoEntityAiming(ped, target, distanceToStopAt, StartAimingDist);","jsInvoke":"Citizen.invokeNative('0xA9DA48FAB8A76C12', ped, target, distanceToStopAt + 0.0000001, StartAimingDist + 0.0000001);","csharp":"Function.Call((Hash)0xA9DA48FAB8A76C12, ped, target, distanceToStopAt, StartAimingDist);","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."]}}