The Lab
LAW native

_ARE_INVESTIGATORS_ACTIVE

returns BOOL3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to return whether law investigators are active for player. The extra parameters are not well documented.

Signature

C
BOOL _ARE_INVESTIGATORS_ACTIVE(Player player, BOOL areInvestigatorsActive, Any p2); // 0xF0FBFB9AB15F7734 b1207

Parameters

#NameType
1playerPlayer
2areInvestigatorsActiveBOOL
3p2Any

Facts

Facts about _ARE_INVESTIGATORS_ACTIVE
Name
_ARE_INVESTIGATORS_ACTIVE
Hash
0xF0FBFB9AB15F7734
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xF0FBFB9AB15F7734, -- _ARE_INVESTIGATORS_ACTIVE
  PlayerId(), -- Player player
  false, -- BOOL areInvestigatorsActive
  0 -- Any p2
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF0FBFB9AB15F7734", // _ARE_INVESTIGATORS_ACTIVE
  PlayerId(), // Player player
  false, // BOOL areInvestigatorsActive
  0, // Any p2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF0FBFB9AB15F7734, // _ARE_INVESTIGATORS_ACTIVE
  API.PlayerId(), // Player player
  false, // BOOL areInvestigatorsActive
  0 // Any p2
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.