SassPD22 Posted December 23, 2012 Share Posted December 23, 2012 that music.lua link redirects me to a "all i do is party" gif with music. MegasXLR 1 Quote Link to comment
Knul Posted July 25, 2014 Share Posted July 25, 2014 http://www.xoti.net/stuff/uploads/music_3bfb.lua When i try to open that link, this pops up.. HELP Not FoundThe requested URL /stuff/uploads/music_3bfb.lua was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Quote Link to comment
shortcat Posted July 31, 2014 Share Posted July 31, 2014 http://www.xoti.net/stuff/uploads/music_3bfb.lua When i try to open that link, this pops up.. HELP Not FoundThe requested URL /stuff/uploads/music_3bfb.lua was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.You've been searching too much pikachu gifs your browser broke.Try to get music.lua from any map which has it in MTA San Andreas\mods\deathmatch\resources\ Quote Link to comment
Alenator Posted August 28, 2014 Share Posted August 28, 2014 Here I did video about How to install car mod and how to put your own music in map. Quote Link to comment
Guest AleksCore Posted September 11, 2014 Share Posted September 11, 2014 18 minutes... If you want my opinion - this is TOO long. I don't want to see how you typing in notepad and other shit. Good lesson = short lesson. Remember it, when you will do another one Quote Link to comment
Bierbuikje Posted September 4, 2016 Share Posted September 4, 2016 The music.lua seems to have dissapeared. The lua script below works, I believe I once copied it from these forums too. Save it in a file called music.lua , create a folder called files in your maps' location and put the music file in it called music.mp3 function startMusic() setRadioChannel(0) song = playSound("files/music.mp3",true) outputChatBox("Press M to mute the music.") end function makeRadioStayOff() setRadioChannel(0) cancelEvent() end function toggleSong() if not songOff then setSoundVolume(song,0) songOff = true removeEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) else setSoundVolume(song,1) songOff = false setRadioChannel(0) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),startMusic) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) addEventHandler("onClientPlayerVehicleEnter",getRootElement(),makeRadioStayOff) addCommandHandler("mkmap1_racetheme",toggleSong) bindKey("m","down","mkmap1_racetheme") Quote Link to comment
HeArTBeaT Posted September 4, 2016 Share Posted September 4, 2016 26 minutes ago, Bierbuikje said: The music.lua seems to have dissapeared. The lua script below works, I believe I once copied it from these forums too. Save it in a file called music.lua , create a folder called files in your maps' location and put the music file in it called music.mp3 function startMusic() setRadioChannel(0) song = playSound("files/music.mp3",true) outputChatBox("Press M to mute the music.") end function makeRadioStayOff() setRadioChannel(0) cancelEvent() end function toggleSong() if not songOff then setSoundVolume(song,0) songOff = true removeEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) else setSoundVolume(song,1) songOff = false setRadioChannel(0) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),startMusic) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) addEventHandler("onClientPlayerVehicleEnter",getRootElement(),makeRadioStayOff) addCommandHandler("mkmap1_racetheme",toggleSong) bindKey("m","down","mkmap1_racetheme") Just make sure you got the resource path right... i usually forget that part and fuck it up. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.