The Lab
BOUNTY native

_BOUNTY_REQUEST_COMPLETE_LEGENDARY_MISSION

returns BOOL2 paramsbuild 1207

Sends a request to complete a legendary bounty mission and writes the request id to outRpcGuid. Returns true if the request was sent.

Signature

C
BOOL _BOUNTY_REQUEST_COMPLETE_LEGENDARY_MISSION(Any* outRpcGuid, Any* p1); // 0xA7309AC0DCF6D950 b1207

Parameters

#NameType
1outRpcGuidAny* (out pointer)
2p1Any* (out pointer)

Facts

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

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