Log In
Sign Up
Game codeUnofficial name

PED::_CAN_PED_HEAR_TARGET_PED

0x5C4FE9FEF1561534 ·RVA 0x04BC7150

Signature

BOOL _CAN_PED_HEAR_TARGET_PED(Ped source, Ped listener);

The scripts pass 4 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).

Parameters 2

#TypeNameNotes
0Pedsource –
1Pedlistener –

Returns

BOOL

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • includeNoiseBoost, in RDR3's signature, is not passed in GTA VI.

Call it

// PED::_CAN_PED_HEAR_TARGET_PED
auto result = invoke<BOOL>(0x5C4FE9FEF1561534, source, listener);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.