Viudes Posted September 30, 2017 Share Posted September 30, 2017 (edited) I get always error when i try play sound all player. Sound work localplayer but other clients get error: Clientside: function eventHandler() if source == test then triggerServerEvent("PlaySelectedMusic",resourceRoot,guiGetText(editBox),localPlayer) end end function FinallyPlaySound() x,y,z = getElementPosition(localPlayer) sound = playSound3D(guiGetText(editBox),x,y,z, true) end Serverside: function test(message) triggerClientEvent( "PlaySoundAll",root) outputChatBox(message) end Edited September 30, 2017 by Viudes Link to comment
Moderators IIYAMA Posted September 30, 2017 Moderators Share Posted September 30, 2017 First of all check if the file exist. https://wiki.multitheftauto.com/wiki/FileExists It is possible that you downloaded the music file but the others did not because you changed some code. Link to comment
Viudes Posted September 30, 2017 Author Share Posted September 30, 2017 3 minutes ago, IIYAMA said: First of all check if the file exist. https://wiki.multitheftauto.com/wiki/FileExists It is possible that you downloaded the music file but the others did not because you changed some code. I don't changed any code. I add spaces like you see. And I dont need check Fileexist beacuse its link https://dl.dropbox.com/s/vubbsivz6nlfs53/qQBLZMULSbo_fmt43.mp3? or i don't know what you mean Link to comment
Moderators IIYAMA Posted September 30, 2017 Moderators Share Posted September 30, 2017 Bass error 2 is a 'file open' error. It looks like you have access to the audio, while others do not. What if you upload the music to Youtube (private) and stream it from there? Link to comment
Viudes Posted October 1, 2017 Author Share Posted October 1, 2017 14 hours ago, IIYAMA said: Bass error 2 is a 'file open' error. It looks like you have access to the audio, while others do not. What if you upload the music to Youtube (private) and stream it from there? How i can stream music from youtube? Link to comment
Moderators IIYAMA Posted October 1, 2017 Moderators Share Posted October 1, 2017 Afaik exactly the same way. 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