Jump to content
  • 0

Bass error [Not solved]


Drakath

Question

I keep getting errors in my server when I open console.

BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0

BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0

BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan7.ogg 3d:1 loop:0

BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0

etc...

Edited by Guest
Link to comment

16 answers to this question

Recommended Posts

  • 0

I replaced my sounds back to normal but I still get these errors:

Script part:

addEvent( "Zomb_Moan", true ) 
function Zmoan ( ped, randnum ) 
    if (isElement(ped)) then 
        local Zx,Zy,Zz = getElementPosition( ped ) 
        local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) 
        setSoundMaxDistance(sound, 20) 
    end 
end 
addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) 

Meta part:

<file src="sounds/mgroan2.ogg" /> 
    <file src="sounds/mgroan3.ogg" /> 
    <file src="sounds/mgroan4.ogg" /> 
    <file src="sounds/mgroan6.ogg" /> 
    <file src="sounds/mgroan8.ogg" /> 
    <file src="sounds/mgroan9.ogg" /> 
    <file src="sounds/mgroan10.ogg" /> 
  

Link to comment
  • 0

well, that looks good, can you play the sounds your self?

BTW, try this:

addEvent( "Zomb_Moan", true ) 
function Zmoan ( ped, randnum ) 
    if (isElement(ped)) then 
        local Zx,Zy,Zz = getElementPosition( ped ) 
        local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz) 
        setSoundMaxDistance(sound, 20) 
    end 
end 
addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) 

Link to comment
  • 0
  • Scripting Moderators
addEvent( "Zomb_Moan", true ) 
function Zmoan ( ped, randnum ) 
    if (isElement(ped)) then 
        local Zx,Zy,Zz = getElementPosition( ped ) 
        if ( randnum == 5 or randnum == 7 ) then 
            return 
        end 
        local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) 
        setSoundMaxDistance(sound, 20) 
    end 
end 
addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) 

Link to comment
  • 0
addEvent( "Zomb_Moan", true ) 
function Zmoan ( ped, randnum ) 
    if (isElement(ped)) then 
        local Zx,Zy,Zz = getElementPosition( ped ) 
        if ( randnum == 5 or randnum == 7 ) then 
            return 
        end 
        local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) 
        setSoundMaxDistance(sound, 20) 
    end 
end 
addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) 

This won't fix the error, it will just stop the function if randnum is 5 or 7.

Link to comment

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...