^#Dream Posted August 20, 2014 Posted August 20, 2014 السلام عليكم انا عندي مشكلة انا مسوي كذا local sounds = { "رابط 1", "رابط 2", } playSound(sounds[math.random(1, #sounds)], false) ^ هذا على ماظن المفروض يشغل الرابط الاول واذا خلص يشغل الرابط الثاني بس مازبط مدري ليش الديبوق مايقول شي #
</Mr.Tn6eL> Posted August 20, 2014 Posted August 20, 2014 السلام عليكم انا عندي مشكلةانا مسوي كذا local sounds = { "رابط 1", "رابط 2", } playSound(sounds[math.random(1, #sounds)], false) ^ هذا على ماظن المفروض يشغل الرابط الاول واذا خلص يشغل الرابط الثاني بس مازبط مدري ليش الديبوق مايقول شي # playSound(sounds[math.random(1, #sounds)], true)
AboShanab Posted August 20, 2014 Posted August 20, 2014 playSound(sounds[math.random(1, #sounds)], true) كودك يخلي الاغنية المشغلة تتكرر !
</Mr.Tn6eL> Posted August 20, 2014 Posted August 20, 2014 playSound(sounds[math.random(1, #sounds)], true) كودك يخلي الاغنية المشغلة تتكرر ! نعم هو قال ان المشكلة الاغنية تتوقف هذا للي فهمته اذ كان قصدة يغير الصوت بعد ماتخلص يستعمل "onClientSoundStopped"
#DRAGON!FIRE Posted August 20, 2014 Posted August 20, 2014 استخدم متغير وجيب القيم من الجدول واستخدم حدث توقف الاغنية .. وهكذا
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