Zomgor Posted November 20, 2010 Share Posted November 20, 2010 hey all ! how can i put a music in a map? thx for the helpers Link to comment
Kenix Posted November 20, 2010 Share Posted November 20, 2010 ---/// x y z position playSound3D("namemusic.mp3",x, y, z, true) add line in meta Link to comment
Zomgor Posted November 20, 2010 Author Share Posted November 20, 2010 didnt understand you.. can u explan me better? Link to comment
drake989 Posted November 20, 2010 Share 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 Link to comment
Zomgor Posted November 22, 2010 Author Share Posted November 22, 2010 hmm still dont understand im need to get in the meta file, and? Link to comment
dzek (varez) Posted November 22, 2010 Share Posted November 22, 2010 https://wiki.multitheftauto.com/wiki/Meta.xml Link to comment
DeadTeamRacing Posted December 26, 2010 Share 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 Link to comment
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