RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CAN_PED_HEAR_TARGET_PED

_CAN_PED_HEAR_TARGET_PED

Returns true if `listener` can hear `source`. If `includeNoiseBoost` is true, the source's noise radius is applied (easier to hear). It 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).

PEDBuild 1207

Signature

lua
CanPedHearTargetPed(source, listener, true)
-- returns float

Parameters

NameTypeDescription
Ped—
Ped—
BOOL—

Usage

lua
CanPedHearTargetPed(source, listener, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details