{"hash":"0x9A209B3C","ns":"CFX","name":"SET_AUDIO_SUBMIX_EFFECT_PARAM_FLOAT","slug":"SET_AUDIO_SUBMIX_EFFECT_PARAM_FLOAT","official":true,"named":true,"luaName":"SetAudioSubmixEffectParamFloat","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"submixId","type":"int","description":"The submix."},{"name":"effectSlot","type":"int","description":"The effect slot for the submix. It is expected that the effect is set in this slot beforehand."},{"name":"paramIndex","type":"int","description":"The parameter index for the effect."},{"name":"paramValue","type":"float","description":"The parameter value to set."}],"summary":"Sets a floating-point parameter for a submix effect.","descriptions":[{"source":"cfx","format":"md","body":"Sets a floating-point parameter for a submix effect."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_AUDIO_SUBMIX_EFFECT_PARAM_FLOAT","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_AUDIO_SUBMIX_EFFECT_PARAM_FLOAT.md","snippets":{"lua":"SetAudioSubmixEffectParamFloat(submixId, effectSlot, paramIndex, paramValue)","luaInvoke":"Citizen.InvokeNative(0x9a209b3c, submixId, effectSlot, paramIndex, paramValue)","js":"SetAudioSubmixEffectParamFloat(submixId, effectSlot, paramIndex, paramValue);","jsInvoke":"Citizen.invokeNative('0x9a209b3c', submixId, effectSlot, paramIndex, paramValue + 0.0000001);","csharp":"Function.Call((Hash)0x9a209b3c, submixId, effectSlot, paramIndex, paramValue);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}