{"hash":"0x245D07651B1D183B","ns":"INVENTORY","name":"_INVENTORY_IS_INVENTORY_ITEM_FLAG_ENABLED","slug":"_INVENTORY_IS_INVENTORY_ITEM_FLAG_ENABLED","official":false,"named":true,"luaName":"InventoryIsInventoryItemFlagEnabled","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"item","type":"Hash"},{"name":"flag","type":"int"}],"summary":"2097152 (is item read?), 8388608 (is item sent/received/mailable?), 16777216 (is item consumable?)","descriptions":[{"source":"alloc8or","format":"text","body":"flag: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ItemDatabaseItemFlags\n2097152 (is item read?), 8388608 (is item sent/received/mailable?), 16777216 (is item consumable?)"}],"examples":[],"aliases":[],"enums":["ItemDatabaseItemFlags"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_IS_INVENTORY_ITEM_FLAG_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_IS_INVENTORY_ITEM_FLAG_ENABLED.md","snippets":{"lua":"local retval = InventoryIsInventoryItemFlagEnabled(item, flag)","luaInvoke":"local retval = Citizen.InvokeNative(0x245D07651B1D183B, item, flag, Citizen.ReturnResultAnyway())","js":"const retval = InventoryIsInventoryItemFlagEnabled(item, flag);","jsInvoke":"const retval = Citizen.invokeNative('0x245D07651B1D183B', item, flag, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x245D07651B1D183B, item, flag);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}