# MISC::_HAS_BULLET_IMPACTED_ENTITY

- **Hash:** `0x7A76104CC2CC69E8`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `HasBulletImpactedEntity`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/_HAS_BULLET_IMPACTED_ENTITY

## Signature

```c
BOOL _HAS_BULLET_IMPACTED_ENTITY(Entity entity, BOOL p1, BOOL p2);
```

## Parameters

- `entity` (`Entity`)
- `p1` (`BOOL`)
- `p2` (`BOOL`)

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns true if the entity has just been impacted by a bullet.
Research notes this bullet-impact group does not appear to work with arrows or throwable projectiles.

*Source: VORPCORE RDR3natives*

returns true if a bullet impacted the entity

## Usage

### Lua

```lua
local retval = HasBulletImpactedEntity(entity, p1, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0x7A76104CC2CC69E8, entity, p1, p2, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = HasBulletImpactedEntity(entity, p1, p2);

// by hash
const retval = Citizen.invokeNative('0x7A76104CC2CC69E8', entity, p1, p2, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x7A76104CC2CC69E8, entity, p1, p2);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
