Game code
PED::CAN_PED_SEE_PED_CACHED
0x7D27C5CF626B8C34 ·RVA 0x04BC73B0
Signature
int CAN_PED_SEE_PED_CACHED(Ped ped, Ped targetPed);
The scripts pass 4 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Ped | targetPed |
– |
Returns
int
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p2, in RDR3's signature, is not passed in GTA VI.
Call it
// PED::CAN_PED_SEE_PED_CACHED
auto result = invoke<int>(0x7D27C5CF626B8C34, ped, targetPed);// PED::CAN_PED_SEE_PED_CACHED
int result = Function.Call<int>((Hash)0x7D27C5CF626B8C34, ped, targetPed);-- PED::CAN_PED_SEE_PED_CACHED
local result = Citizen.InvokeNative(0x7D27C5CF626B8C34, ped, targetPed)// PED::CAN_PED_SEE_PED_CACHED
const result = Citizen.invokeNative("0x7D27C5CF626B8C34", ped, targetPed);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.