The Lab
TASK native

_0x3F8387DB1B9F31B7

returns BOOL2 paramsbuild 1207

This TASK native has no community name yet, so it is known by its hash 0x3F8387DB1B9F31B7. It takes 2 parameters (scriptStruct as Any*, p1 as BOOL) and returns a BOOL.

Signature

C
BOOL _0x3F8387DB1B9F31B7(Any* scriptStruct, BOOL p1); // 0x3F8387DB1B9F31B7 b1207

Parameters

#NameType
1scriptStructAny* (out pointer)
2p1BOOL

Facts

Facts about _0x3F8387DB1B9F31B7
Name
_0x3F8387DB1B9F31B7
Hash
0x3F8387DB1B9F31B7
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, scriptStruct = Citizen.InvokeNative(0x3F8387DB1B9F31B7, -- _0x3F8387DB1B9F31B7
  Citizen.PointerValueInt(), -- Any* scriptStruct
  false, -- BOOL p1
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, scriptStruct] = Citizen.invokeNative("0x3F8387DB1B9F31B7", // _0x3F8387DB1B9F31B7
  Citizen.pointerValueInt(), // Any* scriptStruct
  false, // BOOL p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var scriptStructArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x3F8387DB1B9F31B7, // _0x3F8387DB1B9F31B7
  scriptStructArg, // Any* scriptStruct
  false // BOOL p1
);
int scriptStruct = scriptStructArg.GetResult<int>();
All TASK natives

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