# LAW::_ADD_WITNESS_RESPONSE

- **Hash:** `0x10827B5A0AAC56A7`
- **Namespace:** LAW
- **Runtime name (Lua/JS):** `AddWitnessResponse`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/LAW/_ADD_WITNESS_RESPONSE

## Signature

```c
void _ADD_WITNESS_RESPONSE(Player player, Hash crimeType, Ped pedGroup);
```

## Parameters

- `player` (`Player`)
- `crimeType` (`Hash`)
- `pedGroup` (`Ped`)

## Returns

`void`

## Usage

### Lua

```lua
AddWitnessResponse(player, crimeType, pedGroup)

-- always available, by hash
Citizen.InvokeNative(0x10827B5A0AAC56A7, player, crimeType, pedGroup)
```

### JavaScript

```js
AddWitnessResponse(player, crimeType, pedGroup);

// by hash
Citizen.invokeNative('0x10827B5A0AAC56A7', player, crimeType, pedGroup);
```

### C#

```csharp
Function.Call((Hash)0x10827B5A0AAC56A7, player, crimeType, pedGroup);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- 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.*
