RedM Natives

_IS_PLAYER_SEARCHED

Returns whether the player is in the law search state.

Hash0xF46108C50A22B029
Runtime nameIsPlayerSearched
NamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_IS_LAW_SEARCH_ACTIVE

Signature

BOOL _IS_PLAYER_SEARCHED();

Returns BOOL

Description

alloc8or RDR3 NativeDB

Returns whether the player is in the law search state.

VORPCORE RDR3natives

returns true if law is searching player

Usage

Lua
local retval = IsPlayerSearched()

-- always works, by hash
local retval = Citizen.InvokeNative(0xF46108C50A22B029, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPlayerSearched();

// by hash
const retval = Citizen.invokeNative('0xF46108C50A22B029', Citizen.returnResultAnyway());
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.