The Lab
BOUNTY native

BOUNTY_GET_WANTED_POSTER_SLOT

returns BOOL3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Retrieves data for a wanted poster slot into p2 and returns true on success.

Signature

C
BOOL BOUNTY_GET_WANTED_POSTER_SLOT(Hash p0, Hash p1, Any* p2); // 0xB395A44A0C7CA615 b1207

Parameters

#NameType
1p0Hash
2p1Hash
3p2Any* (out pointer)

Facts

Facts about BOUNTY_GET_WANTED_POSTER_SLOT
Name
BOUNTY_GET_WANTED_POSTER_SLOT
Hash
0xB395A44A0C7CA615
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, p2 = Citizen.InvokeNative(0xB395A44A0C7CA615, -- BOUNTY_GET_WANTED_POSTER_SLOT
  GetHashKey("name"), -- Hash p0
  GetHashKey("name"), -- Hash p1
  Citizen.PointerValueInt(), -- Any* p2
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, p2] = Citizen.invokeNative("0xB395A44A0C7CA615", // BOUNTY_GET_WANTED_POSTER_SLOT
  GetHashKey("name"), // Hash p0
  GetHashKey("name"), // Hash p1
  Citizen.pointerValueInt(), // Any* p2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var p2Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xB395A44A0C7CA615, // BOUNTY_GET_WANTED_POSTER_SLOT
  (uint)API.GetHashKey("name"), // Hash p0
  (uint)API.GetHashKey("name"), // Hash p1
  p2Arg // Any* p2
);
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.