{"hash":"0xE8EAFF7B41EDD291","ns":"AUDIO","name":"_PLAY_SOUND_FROM_ITEM","slug":"_PLAY_SOUND_FROM_ITEM","official":false,"named":true,"luaName":"PlaySoundFromItem","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"item","type":"Hash"},{"name":"soundSet","type":"Hash"},{"name":"p2","type":"Any"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"item: value returned from 0x2E1CDC1FF3B8473E\nsoundSet: HUD_SHOP_SOUNDSET, COMPANIONS_ROBBERIES_SOUNDSET"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/AUDIO/_PLAY_SOUND_FROM_ITEM","markdownUrl":"https://natives.borderlinerp.com/natives/AUDIO/_PLAY_SOUND_FROM_ITEM.md","snippets":{"lua":"PlaySoundFromItem(item, soundSet, p2)","luaInvoke":"Citizen.InvokeNative(0xE8EAFF7B41EDD291, item, soundSet, p2)","js":"PlaySoundFromItem(item, soundSet, p2);","jsInvoke":"Citizen.invokeNative('0xE8EAFF7B41EDD291', item, soundSet, p2);","csharp":"Function.Call((Hash)0xE8EAFF7B41EDD291, item, soundSet, p2);","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."]}}