{"hash":"0x2BAE4880DCDD560B","ns":"INVENTORY","name":"_INVENTORY_GET_IS_INVENTORY_ITEM_SOUND_VALID","slug":"_INVENTORY_GET_IS_INVENTORY_ITEM_SOUND_VALID","official":false,"named":true,"luaName":"InventoryGetIsInventoryItemSoundValid","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"item","type":"Hash"},{"name":"soundType","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"soundType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/CItemInfoSoundsInterface__sSoundsInfo__eSoundType"}],"examples":[],"aliases":[],"enums":["CItemInfoSoundsInterface__sSoundsInfo__eSoundType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_GET_IS_INVENTORY_ITEM_SOUND_VALID","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_GET_IS_INVENTORY_ITEM_SOUND_VALID.md","snippets":{"lua":"local retval = InventoryGetIsInventoryItemSoundValid(item, soundType)","luaInvoke":"local retval = Citizen.InvokeNative(0x2BAE4880DCDD560B, item, soundType, Citizen.ReturnResultAnyway())","js":"const retval = InventoryGetIsInventoryItemSoundValid(item, soundType);","jsInvoke":"const retval = Citizen.invokeNative('0x2BAE4880DCDD560B', item, soundType, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x2BAE4880DCDD560B, item, soundType);","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."]}}