Fintagenewb Posted February 19, 2014 Posted February 19, 2014 Yes, title explains it. but i was on this MTA DAY-Z server and when i was on the login screen, last resort by papa roach came on, It was awesome only for a few seconds though... I was wondering how did they add this music? can anyone help? or know how? -Thanks B southward https://www.youtube.com/user/BENTheMagicalMelon/about "The world is all the richer for having a devil in it, so long as we keep our foot upon his neck."
Castillo Posted February 19, 2014 Posted February 19, 2014 MTA has functions to play music, yes. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Fintagenewb Posted February 19, 2014 Author Posted February 19, 2014 Ok thanks for the reply, but how do i play it when the login screen appears? B southward https://www.youtube.com/user/BENTheMagicalMelon/about "The world is all the richer for having a devil in it, so long as we keep our foot upon his neck."
Castillo Posted February 19, 2014 Posted February 19, 2014 That depends on your script completely. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Fintagenewb Posted February 19, 2014 Author Posted February 19, 2014 Hmm, there's nothing on the google's so could you help? What script is the one whats needed? B southward https://www.youtube.com/user/BENTheMagicalMelon/about "The world is all the richer for having a devil in it, so long as we keep our foot upon his neck."
Mr_Moose Posted February 26, 2014 Posted February 26, 2014 Sounds can easily be played on the client by using the playSound function: element playSound ( string soundPath, [ bool looped = false ] ) https://wiki.multitheftauto.com/wiki/PlaySound Set the soundPath to a sound file url or include the sound in the resource, I would recommend the first alternative. To stop the sound you can use destroyElement() with the sound element as argument. MTA Community | GitHub | 99Stack Forum
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