The Lab
BOUNTY native

_BOUNTY_IS_REQUEST_PENDING

returns BOOL1 parambuild 1207

Returns true while the bounty server request identified by rpcGuid is still awaiting a response.

Poll it after any _BOUNTY_REQUEST_* call before reading the outcome.

Signature

C
BOOL _BOUNTY_IS_REQUEST_PENDING(Any* rpcGuid); // 0x03B61CD51097DE60 b1207

Parameters

#NameType
1rpcGuidAny* (out pointer)

Facts

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

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