RoGeRSkiLL Posted May 28, 2011 Posted May 28, 2011 Somebody help me please. I want to put your own music tracks and when I put it in the scripts and start the server then this error message when downloading: Error downloading requested files. HTTP response code said error. [The requested URL returned error: 404] [song.mp3] Before an image: http://www.kephost.com/view3.php?filena ... znlqck.bmp A thank you in advance for your reply.
Deagle Posted May 28, 2011 Posted May 28, 2011 ● Make a file, music.lua and add in it : setRadioChannel(0) song = playSound("song.mp3", true) bindKey("m", "down", function () setSoundPaused(song, not isSoundPaused(song)) end ) ● Add those 2 line in your meta.xml, before the <meta> <file src="song.mp3" /> <script src="song.lua" type="client" /> </meta> ● Oh and also, you can change the name of the .mp3 song , but be sure that you will change it in meta.xml and in the music.lua also.
RoGeRSkiLL Posted May 28, 2011 Author Posted May 28, 2011 Either way I do it always prints the same ... : @ I do not understand why.
will briggs Posted June 5, 2011 Posted June 5, 2011 Your song file or the resource has a space in the name to e.g song - Im not alone, will not work. Change it to e.g Im-not-alone and your problem is solved
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