IS_IN_ITEMSET
Returns true if entity is contained in itemset.
Signature
BOOL IS_IN_ITEMSET(Entity entity, ItemSet itemset); // 0xD1503C2EE2FE688C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | itemset | ItemSet |
Facts
| 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.
local result = Citizen.InvokeNative(0xD1503C2EE2FE688C, -- IS_IN_ITEMSET
PlayerPedId(), -- Entity entity
0 -- ItemSet itemset
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD1503C2EE2FE688C", // IS_IN_ITEMSET
PlayerPedId(), // Entity entity
0, // ItemSet itemset
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD1503C2EE2FE688C, // IS_IN_ITEMSET
API.PlayerPedId(), // Entity entity
0 // ItemSet itemset
);Related ITEMSETS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.