The Lab
BOUNTY native

_BOUNTY_REQUEST_POSSE_LEADER_CLAIM_CHARACTER_BOUNTY

returns BOOL3 paramsbuild 1207

Sends a request, as posse leader, to claim the bounty on a player character, writing the request id to outRpcGuid.

Signature

C
BOOL _BOUNTY_REQUEST_POSSE_LEADER_CLAIM_CHARACTER_BOUNTY(Any* outRpcGuid, int p1, Any* p2); // 0x5B53CA0E2AC3FF45 b1207

Parameters

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

Facts

Facts about _BOUNTY_REQUEST_POSSE_LEADER_CLAIM_CHARACTER_BOUNTY
Name
_BOUNTY_REQUEST_POSSE_LEADER_CLAIM_CHARACTER_BOUNTY
Hash
0x5B53CA0E2AC3FF45
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(0x5B53CA0E2AC3FF45, -- _BOUNTY_REQUEST_POSSE_LEADER_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("0x5B53CA0E2AC3FF45", // _BOUNTY_REQUEST_POSSE_LEADER_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)0x5B53CA0E2AC3FF45, // _BOUNTY_REQUEST_POSSE_LEADER_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.