CAN_PED_SEE_PED_CACHED
Hash
0x9D9473CB82D83A30Runtime name
CanPedSeePedCachedNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
int CAN_PED_SEE_PED_CACHED(Ped ped, Ped targetPed, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
targetPed | Ped | — |
p2 | BOOL | — |
Returns int
Usage
local retval = CanPedSeePedCached(ped, targetPed, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9D9473CB82D83A30, ped, targetPed, p2, Citizen.ResultAsInteger())JavaScript and C#
const retval = CanPedSeePedCached(ped, targetPed, p2);
// by hash
const retval = Citizen.invokeNative('0x9D9473CB82D83A30', ped, targetPed, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9D9473CB82D83A30, ped, targetPed, p2);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.