# PED::CAN_PED_IN_COMBAT_SEE_TARGET

- **Hash:** `0xEAD42DE3610D0721`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `CanPedInCombatSeeTarget`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/CAN_PED_IN_COMBAT_SEE_TARGET

## Signature

```c
BOOL CAN_PED_IN_COMBAT_SEE_TARGET(Ped ped, Ped target);
```

## Parameters

- `ped` (`Ped`)
- `target` (`Ped`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = CanPedInCombatSeeTarget(ped, target)

-- always available, by hash
local retval = Citizen.InvokeNative(0xEAD42DE3610D0721, ped, target, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = CanPedInCombatSeeTarget(ped, target);

// by hash
const retval = Citizen.invokeNative('0xEAD42DE3610D0721', ped, target, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xEAD42DE3610D0721, ped, target);
```

*Sources: alloc8or RDR3 NativeDB.*
