enzopaul4 Posted March 3, 2018 Share Posted March 3, 2018 BASS ERROR 2 in LoadMedia path:D:\MTA\mods\deathmatch\resources\account\resources\sound.wav 3d:0 loop:0 function playThatSound() local sound = playSound("resources/sound.wav") setSoundVolume(sound, 0.5) end addEventHandler("onClientResourceStart", root, playThatSound) I really don't understand why this isn't working. Any help? I got first the sound.mp3, i tough if i convert it maybe it will be better. But no change.. Link to comment
MIKI785 Posted March 6, 2018 Share Posted March 6, 2018 From what I've gathered it's just a vague message saying 'Can't open file'. Why? I don't know.. is the file really there? Is it declared in meta? Maybe it's a formatting issue, try a different file or a different format (like .ogg). Link to comment
Discord Moderators Pirulax Posted March 8, 2018 Discord Moderators Share Posted March 8, 2018 Hello. By default you cant even start MTA without a sound device.[Eg.: headphones, etc.].But if you start MTA, and disconnect the sound device, MTA will start throwing such errors every time it tries to play a sound.[with playSound, playSound3D] Link to comment
wilhelm Posted April 15, 2020 Share Posted April 15, 2020 Sorry to necro this thread. But I found this error got thrown when I didn't include my audio files in the meta.xml. The client searches its local directory and can't find what its l 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now