The Lab
NETSHOPPING native

_CASHINVENTORY_TRANSACTION_RESPONSE_GET_ITEM_INFO

returns BOOL3 paramsbuild 1207

Writes the server response data for the item at index in transaction id into itemInfo.

Signature

C
BOOL _CASHINVENTORY_TRANSACTION_RESPONSE_GET_ITEM_INFO(int id, int index, Any* itemInfo); // 0x98412398BBE73F61 b1207

Parameters

#NameType
1idint
2indexint
3itemInfoAny* (out pointer)

Facts

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

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