The Lab
NETSHOPPING native

CASHINVENTORY_INIT_SESSION_STATUS

returns BOOL2 paramsbuild 1207

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

Writes the initialization status of the cash inventory session into the output pointers.

Signature

C
BOOL CASHINVENTORY_INIT_SESSION_STATUS(int* p0, int* p1); // 0xC019112F8995DC1C b1207

Parameters

#NameType
1p0int* (out pointer)
2p1int* (out pointer)

Facts

Facts about CASHINVENTORY_INIT_SESSION_STATUS
Name
CASHINVENTORY_INIT_SESSION_STATUS
Hash
0xC019112F8995DC1C
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, p0, p1 = Citizen.InvokeNative(0xC019112F8995DC1C, -- CASHINVENTORY_INIT_SESSION_STATUS
  Citizen.PointerValueInt(), -- int* p0
  Citizen.PointerValueInt(), -- int* p1
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, p0, p1] = Citizen.invokeNative("0xC019112F8995DC1C", // CASHINVENTORY_INIT_SESSION_STATUS
  Citizen.pointerValueInt(), // int* p0
  Citizen.pointerValueInt(), // int* p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xC019112F8995DC1C, // CASHINVENTORY_INIT_SESSION_STATUS
  p0Arg, // int* p0
  p1Arg // int* p1
);
int p0 = p0Arg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();
All NETSHOPPING natives

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