{"hash":"0xCE8E25B4","ns":"CFX","name":"MUMBLE_SET_VOLUME_OVERRIDE_BY_SERVER_ID","slug":"MUMBLE_SET_VOLUME_OVERRIDE_BY_SERVER_ID","official":true,"named":true,"luaName":"MumbleSetVolumeOverrideByServerId","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"serverId","type":"int","description":"The player's server id."},{"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 with the specified server id and player name on Mumble.","descriptions":[{"source":"cfx","format":"md","body":"Overrides the output volume for a particular player with the specified server id and player name on Mumble. This will also bypass 3D audio and distance calculations. -1.0 to reset the override."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_VOLUME_OVERRIDE_BY_SERVER_ID","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_VOLUME_OVERRIDE_BY_SERVER_ID.md","snippets":{"lua":"MumbleSetVolumeOverrideByServerId(serverId, volume)","luaInvoke":"Citizen.InvokeNative(0xce8e25b4, serverId, volume)","js":"MumbleSetVolumeOverrideByServerId(serverId, volume);","jsInvoke":"Citizen.invokeNative('0xce8e25b4', serverId, volume + 0.0000001);","csharp":"Function.Call((Hash)0xce8e25b4, serverId, 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."]}}