How to CORRECTLY add a song to your map
0

13 posts in this topic

Recommended Posts

So, there are many tutorials about that, but most of them are quite old and files aren't compatible with current MTA version, or files are just messed up, or are bad explained. So, here we go:

 

Before adding any song, create your map.

 

When you've finished creating your map and you wish to add a song, download THIS script file, and move it into your map folder. 

 

Afterwards, download the song you'd wish to add to your map. (Format must be .mp3). Once you've downloaded the song, rename it to 'music' (do not erase .mp3 format!) and then place it inside your map folder.

 

ZjieyPA.png

 

The last step, is to open the file meta.xml (open it either with notepad or custom program to edit xml) of your map folder, and add this text: 

 

    <script src="music.lua" type="client" />
    <file src="music.mp3" />
 
It should look like this:
 
l4F0svN.png
 
Save it.
 
Select all files inside your map folder, and add it to .zip file (it must be .zip)
 
yDUvnWi.png
 
 
 
_______________________________________________________
 
 
Reply if you have any problem/doubt.

Share this post


Link to post

Nice tut but isn't this written in ViiNi's topic too? Just curious.

 

It is, but you have to scroll down and find out where's it, between many tutorials he's written there...

Share this post


Link to post

@neox. Pictures can't be seen, would you mind to fix that? :) 

Share this post


Link to post
19 hours ago, Cena said:

@neox. Pictures can't be seen, would you mind to fix that? :) 

Whole forum bugged after update :( old pics i mean.

Edited by MegasXLR

Share this post


Link to post
3 hours ago, MegasXLR said:

Whole forum bugged after update :( old pics i mean.

Yea I know, thats why I'm asking neox to fix it :) 

Share this post


Link to post
27 minutes ago, Maher said:

Why i can't see the photos via phone?

Only shown via PC or Laptop (Or desktop mode lel?)

Photos works fine on my phone (mobile version of the site). Also photos in this thread are corrupted i guess

Share this post


Link to post

I can't see any photos at all xD

Edited by Moh

Share this post


Link to post

Well yeah, can't even see them in my PC or Laptop, but as neox said: 

On 4/28/2016 at 1:07 PM, neox. said:

Can't, files are completely corrupted.

 

Share this post


Link to post

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
0