Zomgor Posted November 20, 2010 Posted November 20, 2010 hey all ! how can i put a music in a map? thx for the helpers
Kenix Posted November 20, 2010 Posted November 20, 2010 ---/// x y z position playSound3D("namemusic.mp3",x, y, z, true) add line in meta http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
Zomgor Posted November 20, 2010 Author Posted November 20, 2010 didnt understand you.. can u explan me better?
drake989 Posted November 20, 2010 Posted November 20, 2010 function onResourceStart() local sound = playSound3D("yourmusic.mp3", 373.14, -125.21, 1001, true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) 373.14, -125.21, 1001 ---- change it to your coordinates This is CLIENT script! https://wiki.multitheftauto.com/wiki/PlaySound3D Multi Theft Auto 1.1 Rollerblades + Park = 90% completed Skateboarding anims = 29% completed Horse model + ride anim = 79% completed Gods Of War gamemode = 67% completed Multi Theft Auto 1.0.4 Gods Of War maps = 88% completed WOW gamemode = 30% completed
Zomgor Posted November 22, 2010 Author Posted November 22, 2010 hmm still dont understand im need to get in the meta file, and?
dzek (varez) Posted November 22, 2010 Posted November 22, 2010 https://wiki.multitheftauto.com/wiki/Meta.xml Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
DeadTeamRacing Posted December 26, 2010 Posted December 26, 2010 (edited) This video could be useful and if you want i have the music.lua file Edited December 26, 2010 by Guest
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