The Lab
BOUNTY native

_BOUNTY_REQUEST_SELF_REPORT_KILLED_BY_BOUNTY_HUNTER

returns BOOL1 parambuild 1207

Reports that the local player was killed by a bounty hunter and writes the request id to outRpcGuid.

Signature

C
BOOL _BOUNTY_REQUEST_SELF_REPORT_KILLED_BY_BOUNTY_HUNTER(Any* outRpcGuid); // 0xB462D69D406A2602 b1207

Parameters

#NameType
1outRpcGuidAny* (out pointer)

Facts

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