The Lab
BOUNTY native

_BOUNTY_REQUEST_CLAIM_CHARACTER_BOUNTY

returns BOOL3 paramsbuild 1207

Sends a request to claim the bounty on a player character and writes the request id to outRpcGuid. Returns true if the request was sent.

Signature

C
BOOL _BOUNTY_REQUEST_CLAIM_CHARACTER_BOUNTY(Any* outRpcGuid, int p1, Any* p2); // 0xA9C3B0F746375162 b1207

Parameters

#NameType
1outRpcGuidAny* (out pointer)
2p1int
3p2Any* (out pointer)

Facts

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

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