| Property | Value |
|---|---|
| Native Name | _INVENTORY_GET_INVENTORY_ITEM_SOUND |
| Hash | 0x2E1CDC1FF3B8473E |
| Return Type | Hash |
| Build | 1207 |
| API Set | client |
| Parameters | item (Hash), soundType (int) |
Description: soundType: see 0x2BAE4880DCDD560B Returns item Hash to be used with _IS_SCRIPTED_AUDIO_CUSTOM and _PLAY_SOUND_FROM_ITEM (p0)
Usage
Lua (Direct):
local result = InventoryGetInventoryItemSound(item, soundType)
Lua (Hash):
local result = Citizen.InvokeNative(0x2E1CDC1FF3B8473E, item, soundType)