Jump to content

BASS ERROR 2 in LoadMedia


Recommended Posts

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
  • Discord Moderators

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
  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...