{"hash":"0x0EA9EACBA3B01601","ns":"PED","name":"_CAN_PED_HEAR_TARGET_PED","slug":"_CAN_PED_HEAR_TARGET_PED","official":false,"named":true,"luaName":"CanPedHearTargetPed","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"source","type":"Ped"},{"name":"listener","type":"Ped"},{"name":"includeNoiseBoost","type":"BOOL"}],"summary":"Returns true if `listener` can hear `source`.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns true if `listener` can hear `source`.\nIf `includeNoiseBoost` is true, the source's noise radius is applied (easier to hear).\nIt treats the source as louder. Its current noise expands the effective hearing range (by subtracting noiseRadius² from dist²), while false uses the baseline distance-only check (stealth)."},{"source":"vorp","format":"text","body":"Returns true if `listener` can hear `source`.\nIf `includeNoiseBoost` is true, the source's noise radius is applied (easier to hear).\nIt treats the source as louder—its current noise expands the effective hearing range (by subtracting noiseRadius² from dist²), while false uses the baseline distance-only check (stealth)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_CAN_PED_HEAR_TARGET_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_CAN_PED_HEAR_TARGET_PED.md","snippets":{"lua":"local retval = CanPedHearTargetPed(source, listener, includeNoiseBoost)","luaInvoke":"local retval = Citizen.InvokeNative(0x0EA9EACBA3B01601, source, listener, includeNoiseBoost, Citizen.ReturnResultAnyway())","js":"const retval = CanPedHearTargetPed(source, listener, includeNoiseBoost);","jsInvoke":"const retval = Citizen.invokeNative('0x0EA9EACBA3B01601', source, listener, includeNoiseBoost, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x0EA9EACBA3B01601, source, listener, includeNoiseBoost);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}