Jump to content

I don't know how to solve this error.


Viudes

Recommended Posts

I get always error when i try play sound all player. Sound work localplayer but other clients get error: 6LeJr7DnSbuTDMfUpwwGzg.png

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 by Viudes
Link to comment
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
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

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