#STZ Posted September 5, 2016 Share Posted September 5, 2016 السلام عليكم و رحمة الله و بركاته امس سويت كود لما يضغط زر موسيقي تشتغل لاكن ما اشتغلت انا سويته في لوحة بزر من اف 10 لين اجربه بعدين اشوف اسويه من ماركر addEventHandler("onClientGUIClick",root,function () -- حدث عند الضغط if source == GUIEditor.button[1] then local alarm = playSound("alarm.mp3"); setSoundVolume(sound, 0.1); exports.TopBarChat:sendClientMessage("يتم الهجوم علي عصابة المافيا | تنبية",source,0,255,0) end end ) Link to comment
!#NssoR_) Posted September 5, 2016 Share Posted September 5, 2016 addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then alarm = playSound("alarm.mp3"); setSoundVolume(alarm, 0.1); exports.TopBarChat:sendClientMessage("يتم الهجوم علي عصابة المافيا | تنبية",source,0,255,0) end end ) تأكد من اسم الصوت انه موجود في الميتا . + الكود حق التوب بار شات ماني متأكد اذا هو صحيح او لا لأني ماعرف الارقمنت حقه Link to comment
Abdul KariM Posted September 5, 2016 Share Posted September 5, 2016 3 hours ago, NssoR said: addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then alarm = playSound("alarm.mp3"); setSoundVolume(alarm, 0.1); exports.TopBarChat:sendClientMessage("يتم الهجوم علي عصابة المافيا | تنبية",source,0,255,0) end end ) تأكد من اسم الصوت انه موجود في الميتا . + الكود حق التوب بار شات ماني متأكد اذا هو صحيح او لا لأني ماعرف الارقمنت حقه مافيه ارقمنت لاعب بالكلينت في التوب بار شات + مفروض يتحقق من الصوت اذا كان موجود يحذفه او يوقف الوظيفة Link to comment
1SaMoRaii Posted September 5, 2016 Share Posted September 5, 2016 alarm = playSound("الصوت حقك و مساره لو حاطه بمجلد",true) Link to comment
#STZ Posted September 6, 2016 Author Share Posted September 6, 2016 23 hours ago, NssoR said: addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then alarm = playSound("alarm.mp3"); setSoundVolume(alarm, 0.1); exports.TopBarChat:sendClientMessage("يتم الهجوم علي عصابة المافيا | تنبية",source,0,255,0) end end ) تأكد من اسم الصوت انه موجود في الميتا . + الكود حق التوب بار شات ماني متأكد اذا هو صحيح او لا لأني ماعرف الارقمنت حقه اسم الصوت تمام + التوب بار شات متاكد ممنه لاني ضايف نفس شطر في اكثر من مود و شغال تمام Link to comment
Abdul KariM Posted September 6, 2016 Share Posted September 6, 2016 وش المشكلة الحين ؟ + شفت ردي الي فوق ولا ماعبرته ؟ 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