# LAW::_IS_PLAYER_SEARCHED

- **Hash:** `0xF46108C50A22B029`
- **Namespace:** LAW
- **Runtime name (Lua/JS):** `IsPlayerSearched`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **Other names:** `_IS_LAW_SEARCH_ACTIVE`
- **URL:** https://natives.borderlinerp.com/natives/LAW/_IS_PLAYER_SEARCHED

## Signature

```c
BOOL _IS_PLAYER_SEARCHED();
```

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns whether the player is in the law search state.

*Source: VORPCORE RDR3natives*

returns true if law is searching player

## Usage

### Lua

```lua
local retval = IsPlayerSearched()

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

### JavaScript

```js
const retval = IsPlayerSearched();

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xF46108C50A22B029);
```

- 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.*
