_BOUNTY_REQUEST_CLAIM_CHARACTER_BOUNTY
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
BOOL _BOUNTY_REQUEST_CLAIM_CHARACTER_BOUNTY(Any* outRpcGuid, int p1, Any* p2); // 0xA9C3B0F746375162 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | outRpcGuid | Any* (out pointer) |
| 2 | p1 | int |
| 3 | p2 | Any* (out pointer) |
Facts
| 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.
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
-- ...
endconst [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) {
// ...
}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>();Related BOUNTY natives
- _BOUNTY_REQUEST_POSSE_LEADER_CLAIM_CHARACTER_BOUNTY
- _BOUNTY_REQUEST_POSSE_MEMBER_CLAIM_CHARACTER_BOUNTY_SHARE
- _BOUNTY_REQUEST_BECOME_TARGET_OF_CHARACTER_BOUNTY_HUNT
- _BOUNTY_REQUEST_ESCAPED_CHARACTER_BOUNTY_HUNT
- _BOUNTY_REQUEST_POSSE_LEADER_ESCAPED_CHARACTER_BOUNTY_HUNT
- _BOUNTY_REQUEST_POSSE_MEMBER_ESCAPED_CHARACTER_BOUNTY_HUNT
- _BOUNTY_REQUEST_PAY_OFF_BOUNTY
- _BOUNTY_REQUEST_PAY_OFF_BOUNTY_EX
- _BOUNTY_REQUEST_SELF_REPORT_KILLED_BY_BOUNTY_HUNTER
- _BOUNTY_REQUEST_COMPLETE_LEGENDARY_MISSION
- _BOUNTY_REQUEST_COMPLETE_SPLIT_WANTED_POSTER
- _BOUNTY_REQUEST_COMPLETE_WANTED_POSTER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.