CREATE_ITEMSET
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
ItemSet CREATE_ITEMSET(BOOL p0); // 0xA1AF16083320065A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | BOOL |
Facts
| 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.
local itemSet = Citizen.InvokeNative(0xA1AF16083320065A, -- CREATE_ITEMSET
false, -- BOOL p0
Citizen.ResultAsInteger()
)
print(itemSet)const itemSet = Citizen.invokeNative("0xA1AF16083320065A", // CREATE_ITEMSET
false, // BOOL p0
Citizen.resultAsInteger()
);
console.log(itemSet)int itemSet = Function.Call<int>((Hash)0xA1AF16083320065A, // CREATE_ITEMSET
false // BOOL p0
);Related ITEMSETS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.