# MISC::HAS_BULLET_IMPACTED_IN_AREA

- **Hash:** `0xC153E5BCCF411814`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `HasBulletImpactedInArea`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/HAS_BULLET_IMPACTED_IN_AREA

## Signature

```c
BOOL HAS_BULLET_IMPACTED_IN_AREA(float x, float y, float z, float p3, BOOL p4, BOOL p5);
```

## Parameters

- `x` (`float`)
- `y` (`float`)
- `z` (`float`)
- `p3` (`float`)
- `p4` (`BOOL`)
- `p5` (`BOOL`)

## Returns

`BOOL`

## Description

p3 - possibly radius?

## Usage

### Lua

```lua
local retval = HasBulletImpactedInArea(x, y, z, p3, p4, p5)

-- always available, by hash
local retval = Citizen.InvokeNative(0xC153E5BCCF411814, x, y, z, p3, p4, p5, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = HasBulletImpactedInArea(x, y, z, p3, p4, p5);

// by hash
const retval = Citizen.invokeNative('0xC153E5BCCF411814', x + 0.0000001, y + 0.0000001, z + 0.0000001, p3 + 0.0000001, p4, p5, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xC153E5BCCF411814, x, y, z, p3, p4, p5);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB.*
