The Lab
BOUNTY native

_BOUNTY_REQUEST_COMPLETE_WANTED_POSTER

returns BOOL2 paramsbuild 1207

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

Signature

C
BOOL _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER(Any* outRpcGuid, Any* p1); // 0x727AB6F008BB9F29 b1207

Parameters

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

Facts

Facts about _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
Name
_BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
Hash
0x727AB6F008BB9F29
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(0x727AB6F008BB9F29, -- _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
  Citizen.PointerValueInt(), -- Any* outRpcGuid
  Citizen.PointerValueInt(), -- Any* p1
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, outRpcGuid, p1] = Citizen.invokeNative("0x727AB6F008BB9F29", // _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
  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)0x727AB6F008BB9F29, // _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
  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.