The Lab
ITEMSETS native

CREATE_ITEMSET

returns ItemSet1 parambuild 1207

Creates a new empty itemset and returns its handle.

Itemsets are filled by world query natives (peds, vehicles or objects in a volume); destroy them with DESTROY_ITEMSET when done.

Signature

C
ItemSet CREATE_ITEMSET(BOOL p0); // 0xA1AF16083320065A b1207

Parameters

#NameType
1p0BOOL

Facts

Facts about CREATE_ITEMSET
Name
CREATE_ITEMSET
Hash
0xA1AF16083320065A
Namespace
Returns
ItemSet
Game build
1207

Examples

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

Lua
local itemSet = Citizen.InvokeNative(0xA1AF16083320065A, -- CREATE_ITEMSET
  false, -- BOOL p0
  Citizen.ResultAsInteger()
)
print(itemSet)
JavaScript
const itemSet = Citizen.invokeNative("0xA1AF16083320065A", // CREATE_ITEMSET
  false, // BOOL p0
  Citizen.resultAsInteger()
);
console.log(itemSet)
C#
int itemSet = Function.Call<int>((Hash)0xA1AF16083320065A, // CREATE_ITEMSET
  false // BOOL p0
);
All ITEMSETS natives

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