RedM Natives

CAN_PED_IN_COMBAT_SEE_TARGET

Hash0xEAD42DE3610D0721
Runtime nameCanPedInCombatSeeTarget
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xEAD42DE3610D0721

Signature

BOOL CAN_PED_IN_COMBAT_SEE_TARGET(Ped ped, Ped target);

Parameters

NameTypeDescription
pedPed—
targetPed—

Returns BOOL

Usage

Lua
local retval = CanPedInCombatSeeTarget(ped, target)

-- always works, by hash
local retval = Citizen.InvokeNative(0xEAD42DE3610D0721, ped, target, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = CanPedInCombatSeeTarget(ped, target);

// by hash
const retval = Citizen.invokeNative('0xEAD42DE3610D0721', ped, target, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xEAD42DE3610D0721, ped, target);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.