-
-
Notifications
You must be signed in to change notification settings - Fork 474
Open
Labels
Description
Describe the bug
The new setSoundEffectParameter function only works with the playSound function.
To reproduce
Use the example code from wiki:
local sound = playSound3D("music.mp3", 0, 0, 10)
setSoundEffectEnabled(sound, "echo", true)
setSoundEffectParameter(sound, "echo", "wetDryMix", 80)
setSoundEffectParameter(sound, "echo", "feedback", 30)
Expected behaviour
The same as with the playSound function
Version
MTA:SA Client 20935
MTA:SA Server 20935
Additional context
Tested with multiple sound files and types.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
theSarrum commentedon Sep 20, 2021
This function actually works, but you need to use a timer, at least for 1 millisecond. There is a similar issue with other functions, such as
getSoundFFTData
andgetSoundWaveData
.jayceon123 commentedon Sep 20, 2021
Then we need to add a note about this on the function wiki page, and correct the example too