Jump to content

مششكلة


Recommended Posts

Posted

السلام عليكم انا عندي مشكلة

انا مسوي كذا

local sounds = { 
 "رابط 1", 
 "رابط 2", 
} 
  
    playSound(sounds[math.random(1, #sounds)], false) 

^

هذا على ماظن المفروض يشغل الرابط الاول واذا خلص يشغل الرابط الثاني بس مازبط مدري ليش

الديبوق مايقول شي #

Posted
السلام عليكم انا عندي مشكلة

انا مسوي كذا

local sounds = { 
 "رابط 1", 
 "رابط 2", 
} 
  
    playSound(sounds[math.random(1, #sounds)], false) 

^

هذا على ماظن المفروض يشغل الرابط الاول واذا خلص يشغل الرابط الثاني بس مازبط مدري ليش

الديبوق مايقول شي #

playSound(sounds[math.random(1, #sounds)], true) 

Posted
playSound(sounds[math.random(1, #sounds)], true) 

كودك يخلي الاغنية المشغلة تتكرر !

نعم هو قال ان المشكلة الاغنية تتوقف هذا للي فهمته

اذ كان قصدة يغير الصوت بعد ماتخلص يستعمل

"onClientSoundStopped" 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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