{"hash":"0x05D6195FB4D428F4","ns":"AUDIO","name":"_TRIGGER_MUSIC_EVENT_WITH_HASH","slug":"_TRIGGER_MUSIC_EVENT_WITH_HASH","official":false,"named":true,"luaName":"TriggerMusicEventWithHash","game":"rdr3","apiset":"client","returnType":"Any","params":[{"name":"eventName","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/AUDIO/_TRIGGER_MUSIC_EVENT_WITH_HASH","markdownUrl":"https://natives.borderlinerp.com/natives/AUDIO/_TRIGGER_MUSIC_EVENT_WITH_HASH.md","snippets":{"lua":"local retval = TriggerMusicEventWithHash(eventName)","luaInvoke":"local retval = Citizen.InvokeNative(0x05D6195FB4D428F4, eventName, Citizen.ResultAsInteger())","js":"const retval = TriggerMusicEventWithHash(eventName);","jsInvoke":"const retval = Citizen.invokeNative('0x05D6195FB4D428F4', eventName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x05D6195FB4D428F4, eventName);","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."]}}