{"hash":"0x9222F300BF8354FE","ns":"PED","name":"REGISTER_HATED_TARGETS_AROUND_PED","slug":"REGISTER_HATED_TARGETS_AROUND_PED","official":true,"named":true,"luaName":"RegisterHatedTargetsAroundPed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"radius","type":"float"}],"summary":"Based on TASK_COMBAT_HATED_TARGETS_AROUND_PED, the parameters are likely similar (PedHandle, and area to attack in).","descriptions":[{"source":"alloc8or","format":"text","body":"Based on TASK_COMBAT_HATED_TARGETS_AROUND_PED, the parameters are likely similar (PedHandle, and area to attack in)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x9222F300BF8354FE","gtaJhash":"0x7F87559E","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/REGISTER_HATED_TARGETS_AROUND_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/REGISTER_HATED_TARGETS_AROUND_PED.md","snippets":{"lua":"RegisterHatedTargetsAroundPed(ped, radius)","luaInvoke":"Citizen.InvokeNative(0x9222F300BF8354FE, ped, radius)","js":"RegisterHatedTargetsAroundPed(ped, radius);","jsInvoke":"Citizen.invokeNative('0x9222F300BF8354FE', ped, radius + 0.0000001);","csharp":"Function.Call((Hash)0x9222F300BF8354FE, ped, radius);","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."]}}