RedM Natives

GET_ITEMSET_SIZE

Hash0x55F2E375AC6018A9
Runtime nameGetItemsetSize
NamespaceITEMSETS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD9127E83ABF7C631

Signature

int GET_ITEMSET_SIZE(ItemSet itemset);

Parameters

NameTypeDescription
itemsetItemSet—

Returns int

Usage

Lua
local retval = GetItemsetSize(itemset)

-- always works, by hash
local retval = Citizen.InvokeNative(0x55F2E375AC6018A9, itemset, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetItemsetSize(itemset);

// by hash
const retval = Citizen.invokeNative('0x55F2E375AC6018A9', itemset, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x55F2E375AC6018A9, itemset);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.