αвυ-wαleed Posted February 14, 2014 Share Posted February 14, 2014 ابغى كود جاهز بسيط اللي هو اغلاق صوت مثلن اسمة aa.mp3 Link to comment
iPrestege Posted February 14, 2014 Share Posted February 14, 2014 ابغى كود جاهز بسيط اللي هو اغلاق صوت مثلن اسمة aa.mp3 destroyElement or stopSound -- destroyElement Best. Link to comment
al-Kobra Posted February 14, 2014 Share Posted February 14, 2014 local aa = playSound ( "aa.mp3" ) destroyElement ( aa ) Link to comment
αвυ-wαleed Posted February 14, 2014 Author Share Posted February 14, 2014 addEventHandler("onClientGUIClick",root, function () if ( source == a55 ) then end end ) ابغى الزر هذا يقفل الشيلا هذي 1.mp3 2.mp3 3.mp.3 4.mp3 Link to comment
' ρяofзśŝoя 亗 Posted February 14, 2014 Share Posted February 14, 2014 ابغى كود جاهز بسيط اللي هو اغلاق صوت مثلن اسمة aa.mp3 # وضحح متى يوقفف ؟ ~ ( الححدث ) # ~ Link to comment
αвυ-wαleed Posted February 14, 2014 Author Share Posted February 14, 2014 addEventHandler("onClientGUIClick",root, function () if ( source == a55 ) then end end ) ابغى الزر هذا يقفل الشيلا هذي 1.mp3 2.mp3 3.mp.3 4.mp3 Link to comment
al-Kobra Posted February 14, 2014 Share Posted February 14, 2014 local aa = playSound ( "aa.mp3" ) destroyElement ( aa ) Link to comment
' ρяofзśŝoя 亗 Posted February 14, 2014 Share Posted February 14, 2014 addEventHandler ( "onClientGUIClick", Button, stopMySound, false ) function stopMySound() stopSound( sound ) end جرببء # Link to comment
CRoW,,# Posted February 14, 2014 Share Posted February 14, 2014 addEventHandler ( "onClientGUIClick", Button, stopMySound, false ) function stopMySound() stopSound( sound ) end جرببء # false وش فايدتها هنا Link to comment
#Rmad~> Posted February 14, 2014 Share Posted February 14, 2014 addEventHandler("onClientGUIClick",root, function () if ( source == a55 ) then stopSound( sound.mp3,false ) stopSound( sound.mp3,false ) stopSound( sound.mp3,false ) stopSound( sound.mp3,false) end end ) ماينفع تحط ارقام غير sound الى اسماء ملفات الصوت Link to comment
</Mr.Tn6eL> Posted February 15, 2014 Share Posted February 15, 2014 addEventHandler("onClientGUIClick",root, function () if ( source == a55 ) then stopSound( sound.mp3,false ) stopSound( sound.mp3,false ) stopSound( sound.mp3,false ) stopSound( sound.mp3,false) end end ) ماينفع تحط ارقام غير sound الى اسماء ملفات الصوت ينفع انا مجرب --------------------- مثال بسيط على قفل الصوت addEventHandler("onClientResourceStart", root, function () sound = playSound(.............) end) addEventHandler("onClientGUIClick",root, function () if source == give then stopSound(sound) end end) 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