{"hash":"0x0556C784FA056628","ns":"AUDIO","name":"_GET_LOADED_STREAM_ID_FROM_CREATION","slug":"_GET_LOADED_STREAM_ID_FROM_CREATION","official":false,"named":true,"luaName":"GetLoadedStreamIdFromCreation","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"streamName","type":"const char*"},{"name":"soundSet","type":"const char*"}],"summary":"Creates stream and returns streamId handle to be used with PLAY_STREAM_* natives","descriptions":[{"source":"alloc8or","format":"text","body":"Creates stream and returns streamId handle to be used with PLAY_STREAM_* natives\nhttps://github.com/femga/rdr3_discoveries/tree/master/audio/create_stream"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/AUDIO/_GET_LOADED_STREAM_ID_FROM_CREATION","markdownUrl":"https://natives.borderlinerp.com/natives/AUDIO/_GET_LOADED_STREAM_ID_FROM_CREATION.md","snippets":{"lua":"local retval = GetLoadedStreamIdFromCreation(streamName, soundSet)","luaInvoke":"local retval = Citizen.InvokeNative(0x0556C784FA056628, streamName, soundSet, Citizen.ResultAsInteger())","js":"const retval = GetLoadedStreamIdFromCreation(streamName, soundSet);","jsInvoke":"const retval = Citizen.invokeNative('0x0556C784FA056628', streamName, soundSet, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x0556C784FA056628, streamName, soundSet);","notes":["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."]}}