The Lab
STATS native

STAT_ID_SET_TO_POSSE_ID

returns void1 parambuild 1207

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

Points the stat id structure statId at the local player's posse.

Signature

C
void STAT_ID_SET_TO_POSSE_ID(Any* statId); // 0x34B22DE38477EDB4 b1207

Parameters

#NameType
1statIdAny* (out pointer)

Facts

Facts about STAT_ID_SET_TO_POSSE_ID
Name
STAT_ID_SET_TO_POSSE_ID
Hash
0x34B22DE38477EDB4
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local statId = Citizen.InvokeNative(0x34B22DE38477EDB4, -- STAT_ID_SET_TO_POSSE_ID
  Citizen.PointerValueInt() -- Any* statId
)
print(statId)
JavaScript
const statId = Citizen.invokeNative("0x34B22DE38477EDB4", // STAT_ID_SET_TO_POSSE_ID
  Citizen.pointerValueInt() // Any* statId
);
console.log(statId)
C#
var statIdArg = new OutputArgument();
Function.Call((Hash)0x34B22DE38477EDB4, // STAT_ID_SET_TO_POSSE_ID
  statIdArg // Any* statId
);
int statId = statIdArg.GetResult<int>();
All STATS natives

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