{"hash":"0x61C309E3","ns":"CFX","name":"MUMBLE_SET_VOLUME_OVERRIDE","slug":"MUMBLE_SET_VOLUME_OVERRIDE","official":true,"named":true,"luaName":"MumbleSetVolumeOverride","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player","description":"A game player index."},{"name":"volume","type":"float","description":"The volume, ranging from 0.0 to 1.0 (or above)."}],"summary":"Overrides the output volume for a particular player on Mumble.","descriptions":[{"source":"cfx","format":"md","body":"Overrides the output volume for a particular player on Mumble. This will also bypass 3D audio and distance calculations. -1.0 to reset the override.\n\nSet to -1.0 to reset the Volume override."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_VOLUME_OVERRIDE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_VOLUME_OVERRIDE.md","snippets":{"lua":"MumbleSetVolumeOverride(player, volume)","luaInvoke":"Citizen.InvokeNative(0x61c309e3, player, volume)","js":"MumbleSetVolumeOverride(player, volume);","jsInvoke":"Citizen.invokeNative('0x61c309e3', player, volume + 0.0000001);","csharp":"Function.Call((Hash)0x61c309e3, player, volume);","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."]}}