RedM Natives

ADD_TO_ITEMSET

Hash0xABE74510883C7950
Runtime nameAddToItemset
NamespaceITEMSETS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE3945201F14637DD

Signature

BOOL ADD_TO_ITEMSET(Entity entity, ItemSet itemset);

Parameters

NameTypeDescription
entityEntity—
itemsetItemSet—

Returns BOOL

Usage

Lua
local retval = AddToItemset(entity, itemset)

-- always works, by hash
local retval = Citizen.InvokeNative(0xABE74510883C7950, entity, itemset, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = AddToItemset(entity, itemset);

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

Sources

alloc8or RDR3 NativeDB

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