{"hash":"0x4CF5F55DAC3280A0","ns":"TASK","name":"TASK_COMBAT_HATED_TARGETS_IN_AREA","slug":"TASK_COMBAT_HATED_TARGETS_IN_AREA","official":true,"named":true,"luaName":"TaskCombatHatedTargetsInArea","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"flags","type":"int"},{"name":"p6","type":"Any"}],"summary":"Despite its name, it only attacks ONE hated target.","descriptions":[{"source":"alloc8or","format":"text","body":"Despite its name, it only attacks ONE hated target. The one closest to the specified position."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x4CF5F55DAC3280A0","gtaJhash":"0xDF099E18","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_COMBAT_HATED_TARGETS_IN_AREA","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_COMBAT_HATED_TARGETS_IN_AREA.md","snippets":{"lua":"TaskCombatHatedTargetsInArea(ped, x, y, z, radius, flags, p6)","luaInvoke":"Citizen.InvokeNative(0x4CF5F55DAC3280A0, ped, x, y, z, radius, flags, p6)","js":"TaskCombatHatedTargetsInArea(ped, x, y, z, radius, flags, p6);","jsInvoke":"Citizen.invokeNative('0x4CF5F55DAC3280A0', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, flags, p6);","csharp":"Function.Call((Hash)0x4CF5F55DAC3280A0, ped, x, y, z, radius, flags, p6);","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."]}}