the code is working
addEventHandler( 'onClientResourceStart', resourceRoot,
function()
local x, y, z = getElementPosition (localPlayer)
local song = playSound3D("0.mp3", x, y, z, true)
setSoundVolume ( song, 100 )
setSoundMinDistance ( song, 100 )
outputChatBox(":D")
end
)
addEventHandler( 'onClientResourceStart', resourceRoot,
local song = playSound3D("Diskoparty.mp3", -2758, 968, 54, true)
setSoundVolume ( song, 100 )
setSoundMinDistance ( song, 100 )
outputChatBox(":D")
end
)