The Lab
BOUNTY native

_BOUNTY_REQUEST_PAY_OFF_BOUNTY

returns BOOL1 parambuild 1207

Sends a request to pay off the bounty on the local player and writes the request id to outRpcGuid. Returns true if the request was sent.

Signature

C
BOOL _BOUNTY_REQUEST_PAY_OFF_BOUNTY(Any* outRpcGuid); // 0x537CE992BD2D7BCB b1207

Parameters

#NameType
1outRpcGuidAny* (out pointer)

Facts

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

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