Jump to content
⚠️DATA BREACH ⚠️ ×
Mr. Green Gaming

How to CORRECTLY add a song to your map


neox.

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.
Link to comment
  • 2 months later...
  • 1 year later...
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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...