{"hash":"0x7BF835BB9E2698C8","ns":"TASK","name":"TASK_COMBAT_HATED_TARGETS_AROUND_PED","slug":"TASK_COMBAT_HATED_TARGETS_AROUND_PED","official":true,"named":true,"luaName":"TaskCombatHatedTargetsAroundPed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"radius","type":"float"},{"name":"flags","type":"int"},{"name":"p3","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 hated target."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x7BF835BB9E2698C8","gtaJhash":"0x2E7064E4","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_COMBAT_HATED_TARGETS_AROUND_PED","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_COMBAT_HATED_TARGETS_AROUND_PED.md","snippets":{"lua":"TaskCombatHatedTargetsAroundPed(ped, radius, flags, p3)","luaInvoke":"Citizen.InvokeNative(0x7BF835BB9E2698C8, ped, radius, flags, p3)","js":"TaskCombatHatedTargetsAroundPed(ped, radius, flags, p3);","jsInvoke":"Citizen.invokeNative('0x7BF835BB9E2698C8', ped, radius + 0.0000001, flags, p3);","csharp":"Function.Call((Hash)0x7BF835BB9E2698C8, ped, radius, flags, p3);","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."]}}