The Lab
ITEMSETS native

IS_IN_ITEMSET

returns BOOL2 paramsbuild 1207

Returns true if entity is contained in itemset.

Signature

C
BOOL IS_IN_ITEMSET(Entity entity, ItemSet itemset); // 0xD1503C2EE2FE688C b1207

Parameters

#NameType
1entityEntity
2itemsetItemSet

Facts

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