_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 floatParameters
| Name | Type | Description |
|---|---|---|
| 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
