_ARE_INVESTIGATORS_ACTIVE
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
BOOL _ARE_INVESTIGATORS_ACTIVE(Player player, BOOL areInvestigatorsActive, Any p2); // 0xF0FBFB9AB15F7734 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | areInvestigatorsActive | BOOL |
| 3 | p2 | Any |
Facts
| 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.
local result = Citizen.InvokeNative(0xF0FBFB9AB15F7734, -- _ARE_INVESTIGATORS_ACTIVE
PlayerId(), -- Player player
false, -- BOOL areInvestigatorsActive
0 -- Any p2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xF0FBFB9AB15F7734", // _ARE_INVESTIGATORS_ACTIVE
PlayerId(), // Player player
false, // BOOL areInvestigatorsActive
0, // Any p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF0FBFB9AB15F7734, // _ARE_INVESTIGATORS_ACTIVE
API.PlayerId(), // Player player
false, // BOOL areInvestigatorsActive
0 // Any p2
);Related LAW natives
- ARE_WITNESSES_ACTIVE
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
- _ARE_WITNESSES_PENDING
- _HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH
- IS_LAW_INCIDENT_ACTIVE
- _ADD_WITNESS_RESPONSE
- _CREATE_GUARD_ZONE
- _CREATE_GUARD_ZONE_FOR_ENTITY
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _DISABLE_GUARD_ZONE
- _ENABLE_DISPATCH_LAW
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.