From 96ea422c22f02172891f91b8ce050b2172c69189 Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 22 Dec 2019 22:08:56 +0000 Subject: [PATCH] Fixed lock audio using beep volume setting --- cl_radar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cl_radar.lua b/cl_radar.lua index b4b52ab..0919608 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -889,7 +889,8 @@ function RADAR:SetAntennaSpeedLock( ant, speed, dir, lockType ) -- Send a message to the NUI side to play the beep sound with the current volume setting SendNUIMessage( { _type = "audio", name = "beep", vol = RADAR:GetSettingValue( "beep" ) } ) - SendNUIMessage( { _type = "lockAudio", ant = ant, dir = dir, vol = RADAR:GetSettingValue( "beep" ) } ) + -- Send a message to the NUI side to play the lock audio with the current voice volume setting + SendNUIMessage( { _type = "lockAudio", ant = ant, dir = dir, vol = RADAR:GetSettingValue( "voice" ) } ) end end