Cavorta Posted September 16, 2010 Posted September 16, 2010 İlk Önce music.lua adında bir script acalım ve ardından içine su yazıları atalım Kod: function onResourceStart() local sound = playSound("sarkiadi.mp3",true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) local sound = playSound("sarkiadi.mp3",true) da sarkiadi yazan yeri kendi sarkinizin ismi ile degistirin. Script'i kaydedin ve kapatın simdi meta.xml adında bir dosya oluşturun uzantısı .xml olsun notepad ile acıp su satırları koyun Kod: <meta> <info type="script" version="1.0.0" /> <script src="music.lua" type="client" /> <file src="sarkiadi.mp3" /> <settings> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#maxplayers" value="[ 128 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#weather" value="[ 8 ]" /> <setting name="#time" value="0:0" /> <setting name="#locked_time" value="[ false ]" /> <setting name="#waveheight" value="[ 0 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> </settings> </meta> yazan yeri kendi müziğin ismi ile degistirmeniz gerekmektedir. Not : Hem lua scriptinde hem meta.xml dosyasındada müzik adının aynı olması gerekmektedir aksi halde calışmaz. meta.xml yi kaydettikten sonra hepsini .zip formatında sıkıştırıp resource'ların oldugu yere atıyoruz. Alıntı : gtaturk.com www.MIXED-MTA.com Mixed RolePlay: %80
dzek (varez) Posted September 16, 2010 Posted September 16, 2010 This is ENGLISH language forums! Use english when posting, especially when asking a question. If 99% of us can't uderstand you - how you can expect an answer? From these message i think you want music to be played on player join - you can use my resource to achieve this. 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)!
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