The Lab
ITEMSETS native

ADD_TO_ITEMSET

returns BOOL2 paramsbuild 1207

Adds entity to itemset and returns true on success.

Signature

C
BOOL ADD_TO_ITEMSET(Entity entity, ItemSet itemset); // 0xABE74510883C7950 b1207

Parameters

#NameType
1entityEntity
2itemsetItemSet

Facts

Facts about ADD_TO_ITEMSET
Name
ADD_TO_ITEMSET
Hash
0xABE74510883C7950
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 = Citizen.InvokeNative(0xABE74510883C7950, -- ADD_TO_ITEMSET
  PlayerPedId(), -- Entity entity
  0 -- ItemSet itemset
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xABE74510883C7950", // ADD_TO_ITEMSET
  PlayerPedId(), // Entity entity
  0, // ItemSet itemset
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xABE74510883C7950, // ADD_TO_ITEMSET
  API.PlayerPedId(), // Entity entity
  0 // ItemSet itemset
);
All ITEMSETS natives

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