saltychat-fivem icon indicating copy to clipboard operation
saltychat-fivem copied to clipboard

SetRadioVolume not increasing/decreasing the actual volume of the radio.

Open YasinY opened this issue 2 years ago • 6 comments

Hi,

using exports['saltychat']:SetRadioVolume(volume), with volume being as a float, doesn't do anything.

1.6f is no differente to 0.3f for example.

Please look into it.

YasinY avatar Sep 18 '23 12:09 YasinY

Are you using the export on the client and is the set volume getting relayed to the plugin? You can check it with extensive logging.

BlackFlash5 avatar Sep 18 '23 21:09 BlackFlash5

Yes, I am using the export on the client and yes, it's getting relayed to the plugin

YasinY avatar Sep 19 '23 21:09 YasinY

Can't reproduce this issue, setting the volume to 0.1f and 1.6f shows a clear difference. Asked another server as well and they don't have this issue either, so you'd have to provide more information on how to reproduce this.

BlackFlash5 avatar Sep 20 '23 18:09 BlackFlash5

having similar issues over here. tested with a command to send custom values from 0.0 to 1.6 to it and it didnt change at all. Same goes for "SetRadioSpeaker" tho. It never disabled / enabled or did anything else.

Logging gave me these logs when sending the Change-Volume (Command 3?) but parameter null...?

https://img.egopvp.com/images/rRiY.png

NoobKeksTV avatar Jun 05 '24 17:06 NoobKeksTV

opening this again. 'clear' difference is definitely not the case. i am passing 1.6 manually, as well as 0.1 while someone is talking (via commands, just to do the manual testing) and it has NO difference at all.

YasinY avatar Jul 25 '24 01:07 YasinY

opening this again. 'clear' difference is definitely not the case. i am passing 1.6 manually, as well as 0.1 while someone is talking (via commands, just to do the manual testing) and it has NO difference at all.

Sorry i never replied but i fixxed it.

What the problem is: Changing the volume WHILE SOMEONE SPEAKS. Any Changes to the volume were only taking effect on it once a new transmittion was started but never on the one thats being transmitted right now (which is not thaaaat nice but it still works and is a good feature).

NoobKeksTV avatar Jul 25 '24 16:07 NoobKeksTV