02-09-2016, 05:36 PM
Make sure you have CfgSounds defined in your description.ext without typos, missing , ; or brackets. Example below: Make folder to your mission folder called sounds. Put your audio there, make sure your audio files are in .ogg format.
If you want that sound to be played to everyone:
in a script, or execution field of a trigger.
https://community.bistudio.com/wiki/Description.ext
https://community.bistudio.com/wiki/playSound
Code:
class CfgSounds {
class mySound {name = "mySound";sound[] = {"sounds\mySound.ogg", db +4, 1};titles[] = {1, ""};};
 Â
};
If you want that sound to be played to everyone:
Code:
playSound "mySound";
in a script, or execution field of a trigger.
https://community.bistudio.com/wiki/Description.ext
https://community.bistudio.com/wiki/playSound