I made this change for both functions FlankAlert() and BackAlert() inside lua profile. Play sound ON/OFF now working for me.
FROM
TO
FROM
Code:
function FlankAlert()
if (Assister.flank) then
for i = 1, 2 do
GameHacks:PlaySound(39)
end
Assister.flank = false
Assister.back = true
end
end
function BackAlert()
if (Assister.back) then
for i = 1, 2 do
GameHacks:PlaySound(47)
end
Assister.flank = true
Assister.back = false
end
end
TO
Code:
function FlankAlert()
if (Settings.Assister.gAstPlaySounds == true and Assister.flank) then
for i = 1, 2 do
GameHacks:PlaySound(39)
end
Assister.flank = false
Assister.back = true
end
end
function BackAlert()
if (Settings.Assister.gAstPlaySounds == true and Assister.back) then
for i = 1, 2 do
GameHacks:PlaySound(47)
end
Assister.flank = true
Assister.back = false
end
end