CAN_PED_IN_COMBAT_SEE_TARGET
Hash
0xEAD42DE3610D0721Runtime name
CanPedInCombatSeeTargetNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEAD42DE3610D0721Signature
BOOL CAN_PED_IN_COMBAT_SEE_TARGET(Ped ped, Ped target);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
target | Ped | — |
Returns BOOL
Usage
local retval = CanPedInCombatSeeTarget(ped, target)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEAD42DE3610D0721, ped, target, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = CanPedInCombatSeeTarget(ped, target);
// by hash
const retval = Citizen.invokeNative('0xEAD42DE3610D0721', ped, target, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xEAD42DE3610D0721, ped, target);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.