The Lab
NETSHOPPING native

_CASHINVENTORY_TRANSACTION_START

returns BOOL3 paramsbuild 1207

Starts a new inventory transaction of the given type and actionHash, writing its id to id.

Signature

C
BOOL _CASHINVENTORY_TRANSACTION_START(int* id, Hash type, Hash actionHash); // 0xF039EC27F4490E96 b1207

Parameters

#NameType
1idint* (out pointer)
2typeHash
3actionHashHash

Facts

Facts about _CASHINVENTORY_TRANSACTION_START
Name
_CASHINVENTORY_TRANSACTION_START
Hash
0xF039EC27F4490E96
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, id = Citizen.InvokeNative(0xF039EC27F4490E96, -- _CASHINVENTORY_TRANSACTION_START
  Citizen.PointerValueInt(), -- int* id
  GetHashKey("name"), -- Hash type
  GetHashKey("name"), -- Hash actionHash
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, id] = Citizen.invokeNative("0xF039EC27F4490E96", // _CASHINVENTORY_TRANSACTION_START
  Citizen.pointerValueInt(), // int* id
  GetHashKey("name"), // Hash type
  GetHashKey("name"), // Hash actionHash
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var idArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xF039EC27F4490E96, // _CASHINVENTORY_TRANSACTION_START
  idArg, // int* id
  (uint)API.GetHashKey("name"), // Hash type
  (uint)API.GetHashKey("name") // Hash actionHash
);
int id = idArg.GetResult<int>();
All NETSHOPPING natives

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