RedM Natives

_HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH

Reported to return true when law active search finds the player for the first time.

Hash0x9945A3E2528A02E8
Runtime nameHasPlayerBeenFoundByLawActiveSearch
NamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns BOOL

Description

alloc8or RDR3 NativeDB

Reported to return true when law active search finds the player for the first time. Returns false when the player evades or dies.
Requires _SET_LAW_REGION for law to become aware of crimes.

VORPCORE RDR3natives

returns true when law finds player after searching for player for the first time , false when player evades or dies.Note: must use SET_LAW_REGION for law to get aware of crimes.

Usage

Lua
local retval = HasPlayerBeenFoundByLawActiveSearch(player)

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

// by hash
const retval = Citizen.invokeNative('0x9945A3E2528A02E8', player, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x9945A3E2528A02E8, player);
  • 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.