_IS_PLAYER_SEARCHED
Returns whether the player is in the law search state.
Hash
0xF46108C50A22B029Runtime name
IsPlayerSearchedNamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_IS_LAW_SEARCH_ACTIVESignature
BOOL _IS_PLAYER_SEARCHED();Returns BOOL
Description
Returns whether the player is in the law search state.
returns true if law is searching player
Usage
local retval = IsPlayerSearched()
-- always works, by hash
local retval = Citizen.InvokeNative(0xF46108C50A22B029, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerSearched();
// by hash
const retval = Citizen.invokeNative('0xF46108C50A22B029', Citizen.returnResultAnyway());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
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.