_HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH
Reported to return true when law active search finds the player for the first time.
Hash
0x9945A3E2528A02E8Runtime name
HasPlayerBeenFoundByLawActiveSearchNamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns BOOL
Description
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.
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
local retval = HasPlayerBeenFoundByLawActiveSearch(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9945A3E2528A02E8, player, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasPlayerBeenFoundByLawActiveSearch(player);
// by hash
const retval = Citizen.invokeNative('0x9945A3E2528A02E8', player, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.