Professional Posted February 5, 2016 Share Posted February 5, 2016 (edited) يعطيكم العافيه يا شباب ما قصرتو Edited February 6, 2016 by Guest Link to comment
Jupi Posted February 5, 2016 Share Posted February 5, 2016 السلام عليكمابي فنكشن امسك السلاح بيد واحدة + فنكشن لو واحد حط رابط غنيه بتيكست تبدا الغنيه وشكرا يا ريت لو رد سريعع مستعجل بسيرفر لمعي اجهز موداته playSound حط رابط مباشر لملف الصوت Link to comment
Abdul KariM Posted February 5, 2016 Share Posted February 5, 2016 السلام عليكمابي فنكشن امسك السلاح بيد واحدة + فنكشن لو واحد حط رابط غنيه بتيكست تبدا الغنيه وشكرا يا ريت لو رد سريعع مستعجل بسيرفر لمعي اجهز موداته playSound حط رابط مباشر لملف الصوت + isElement لو كان الصوت شغال وماتبي توقفه سوي return end ولو كان الصوت شغال وتبي تحذفه وتبدا من جديد تستخدم stopSound او destroyElement مع isElement + مايحتاج يحط رابط لملف الصوت هو يختار الي يبيه Link to comment
Professional Posted February 5, 2016 Author Share Posted February 5, 2016 عملت الكود بس ما اشتغل ما عرفت شو المشكله addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then local aa = guiGetText(song) playSound(tostring(aa)) end end ) وحطات اغنيه مباشره ودي بق ما يطلع شيئ Link to comment
Abdul KariM Posted February 5, 2016 Share Posted February 5, 2016 عملت الكود بس ما اشتغل ما عرفت شو المشكله addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then local aa = guiGetText(song) playSound(tostring(aa)) end end ) وحطات اغنيه مباشره ودي بق ما يطلع شيئ لو تبيه اذا ضغط الزر والصوت شغال يوقفه ويبدا من جديد addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then if Sound and isElement ( Sound ) then destroyElement ( Sound ) end end aa = guiGetText ( song ) Sound = playSound ( aa ) end ); لو تبيه لو كان الصوت شغال وضغط الزر مايصير شي لين مايتنهي الصوت الموجود addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then if Sound and isElement ( Sound ) then return end end aa = guiGetText ( song ) Sound = playSound ( aa ) end ); ملاحظة : ابري ذمتي من الي يشتغل اغاني وبما يخالف الشريعة الاسلامية بالتوفيق Link to comment
Professional Posted February 5, 2016 Author Share Posted February 5, 2016 عملت الكود بس ما اشتغل ما عرفت شو المشكله addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then local aa = guiGetText(song) playSound(tostring(aa)) end end ) وحطات اغنيه مباشره ودي بق ما يطلع شيئ لو تبيه اذا ضغط الزر والصوت شغال يوقفه ويبدا من جديد addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then if Sound and isElement ( Sound ) then destroyElement ( Sound ) end end aa = guiGetText ( song ) Sound = playSound ( aa ) end ); لو تبيه لو كان الصوت شغال وضغط الزر مايصير شي لين مايتنهي الصوت الموجود addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then if Sound and isElement ( Sound ) then return end end aa = guiGetText ( song ) Sound = playSound ( aa ) end ); ملاحظة : ابري ذمتي من الي يشتغل اغاني وبما يخالف الشريعة الاسلامية بالتوفيق ابي لما يضغط على الزر يشتغل الصوت وبسس انا عامل بوتون بس يطقس على الزر يشتغل الصوت وعامل بوتون اسمه توقف الصوت بس اضغطه يروح الصوت الحين ابي انا لما اضغط على بوتون تشغيل صوت يشتغل فقط هيكك Link to comment
Abdul KariM Posted February 5, 2016 Share Posted February 5, 2016 ^ addEventHandler ( "onClientGUIClick", root, function ( ) if source == ok then if Sound and isElement ( Sound ) then return end aa = guiGetText ( song ) Sound = playSound ( aa ) end if source == Stop then if Sound and isElement ( Sound ) then destroyElement ( Sound ) end end end ); Stop بدل بأسم الزر الي تبيه يوقف الصوت وارجع واقول ابري ذمتي من الي يشتغل اغاني او يخالف الشريعة الاسلامية بالتوفيق Link to comment
Professional Posted February 5, 2016 Author Share Posted February 5, 2016 (edited) ششكرا ظبط خلاص Edited February 6, 2016 by Guest Link to comment
' A F . Posted February 5, 2016 Share Posted February 5, 2016 انا ماني فاهم وش تبي تسوي بس جرب addEventHandler('onClientGUIClick',resourceRoot, function ( ) if ( source == ok ) then local Url = guiGetText ( song ) if ( Url ~= '' and Url:find('mp3') ) then if ( isElement ( Music ) ) then return outputChatBox('Please Wait..',255,255,0,true) end Music = playSound ( Url ) end elseif ( source == ssong ) then if ( isElement ( Music ) ) then destroyElement ( Music ) end end end) Link to comment
Professional Posted February 6, 2016 Author Share Posted February 6, 2016 انا ماني فاهم وش تبي تسوي بس جرب addEventHandler('onClientGUIClick',resourceRoot, function ( ) if ( source == ok ) then local Url = guiGetText ( song ) if ( Url ~= '' and Url:find('mp3') ) then if ( isElement ( Music ) ) then return outputChatBox('Please Wait..',255,255,0,true) end Music = playSound ( Url ) end elseif ( source == ssong ) then if ( isElement ( Music ) ) then destroyElement ( Music ) end end end) يخي ابي لما يحط رابط بتكست رابط اغنيه ويضغط على البوتون تبدا الاغنيه فقط كذا وكودك ما ظبط Link to comment
justboy Posted February 6, 2016 Share Posted February 6, 2016 رابط الاغنية مباشر ؟؟ هات الرابط نتأكد Link to comment
Professional Posted February 6, 2016 Author Share Posted February 6, 2016 مثال ذي : http://www.panet.co.il/music/player/22224 Link to comment
' A F . Posted February 6, 2016 Share Posted February 6, 2016 (edited) .. Edited February 7, 2016 by Guest Link to comment
Ja[B]er[X]Pro Posted February 7, 2016 Share Posted February 7, 2016 مثال ذي : http://www.panet.co.il/music/player/22224 ههههههههه بانيت Link to comment
Me[Z]oO Posted February 7, 2016 Share Posted February 7, 2016 مثال ذي : http://www.panet.co.il/music/player/22224 ههههههههه بانيت Link to comment
SycroX Posted February 7, 2016 Share Posted February 7, 2016 يا صديقي الرابط لازم يبقا .mp3 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