iMr ~ MnHmAr Posted January 4, 2016 Share Posted January 4, 2016 آلسسلام عليكم و رحمة الله و بركاته اول موضوع لي هنا ! ااريد مساعده الان انا سويت مود شيلات و سويت كل شيء بطرح لكم ملف كلنت تحت GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, scrollbar = {}, gridlist = {} } local Shilat = { {"http://cdn.top4top.net/d_6633b77e561.mp3","حبيبي شارب شاهي"}, {"http://cdn.top4top.net/d_11668d4a9b1.mp3","شيلة المعنى"}, {"http://cdn.top4top.net/d_c7fc5e3aeb1.mp3","شيلة رآعي الجيب "}, {"http://cdn.top4top.net/d_c36a05a5251.mp3","شيلة حالتي حالة"}, {"http://cdn.top4top.net/d_93f673b3ce1.mp3","شيلة وداعة الله"}, {"http://cdn.top4top.net/d_46e047a2951.mp3","شيلة صبلي يانور"}, {"http://cdn.top4top.net/d_dd9ad629251.mp3","شيلة أبرق الريش"}, {"http://cdn.top4top.net/d_8f86e81d9a1.mp3","ي صعي والله"}, {"http://cdn.top4top.net/d_8f86e81d9a2.mp3","البيت جنب"}, {"http://cdn.top4top.net/d_8f86e81d9a3.mp3","الفجر الجديد"}, {"http://cdn.top4top.net/d_3ebeb787751.mp3"," صدتك عني غريبة"}, {"http://cdn.top4top.net/d_8f86e81d9a9.mp3"," شيلة مسموح ترحل"}, {"http://cdn.top4top.net/d_8f86e81d9a10.mp3","شيلة ي حظ"}, {"http://cdn.top4top.net/d_cb12531a141.mp3","شيلة شرهات النشاما"}, {"http://cdn.top4top.net/d_8f86e81d9a6.mp3","شيلة علوم الرجاجيل "}, {"http://cdn.top4top.net/d_8f86e81d9a5.mp3","شيلة اللكزس"}, {"http://cdn.top4top.net/d_8f86e81d9a4.mp3","شيلة البارحه"}, {"http://cdn.top4top.net/d_73f1e0acdd1.mp3","شيلة هزني في الحشا"}, {"http://cdn.top4top.net/d_73f1e0acdd2.mp3","شيلة ابشر"}, {"http://cdn.top4top.net/d_73f1e0acdd4.mp3","شيلة الرفق"}, {"http://cdn.top4top.net/d_73f1e0acdd5.mp3","شيلة العيد"}, {"http://cdn.top4top.net/d_73f1e0acdd6.mp3","شيلة امحق وجيه"}, {"http://cdn.top4top.net/d_3c2ff0dfce1.mp3","شيلة لا زهمني"}, {"http://cdn.top4top.net/d_3c2ff0dfce2.mp3","شيلة لي صاحب"}, {"http://cdn.top4top.net/d_3c2ff0dfce3.mp3","شيلة ما عاد فيها ي نشاما"}, {"http://cdn.top4top.net/d_3c2ff0dfce4.mp3","شيلة ي مرحبا"}, {"http://cdn.top4top.net/d_3c2ff0dfce5.mp3","شيلة ي زين سلم"}, {"http://cdn.top4top.net/d_3c2ff0dfce6.mp3","شيلة ي صاحبي"}, {"http://cdn.top4top.net/d_3c2ff0dfce7.mp3","شيلة ي طير غنيت"}, {"http://cdn.top4top.net/d_73f1e0acdd9.mp3","شيلة ي ما شكيت الهم"}, {"http://cdn.top4top.net/d_3c2ff0dfce9.mp3","شيلة الرنج"}, {"http://cdn.top4top.net/d_3c2ff0dfce10.mp3","شيلة لاتحسب اني"}, {"http://cdn.top4top.net/d_e2ce8f39521.mp3","شيلة لبيه لبيه"}, {"http://cdn.top4top.net/d_e2ce8f39522.mp3","شيلة لجل الغلا"}, {"http://cdn.top4top.net/d_9ce35d63e01.mp3","شيلة ي خيالي"}, {"http://cdn.top4top.net/d_e2ce8f39525.mp3","شيلة ي بري حالي"}, {"http://cdn.top4top.net/d_e2ce8f39526.mp3","شيلة ي وليفي"}, {"http://cdn.top4top.net/d_e2ce8f39527.mp3","شيلة يقولون الهوى ظالم"}, {"http://cdn.top4top.net/d_ada35faaca1.mp3","شيلة ي فرج"}, {"http://cdn.top4top.net/d_7ea4f660c71.mp3","شيلة ي طير السعد"}, {"http://cdn.top4top.net/d_1bfeb68ce91.mp3","شيلةاجرح حبيبك حلالك"}, {"http://cdn.top4top.net/d_ad77806d7c1.mp3","شيلة شيخ المكارم"}, {"http://cdn.top4top.net/d_1bdeddfd2f2.mp3","شيلة ي فرج"}, {"http://cdn.top4top.net/d_1bdeddfd2f3.mp3","شيلة ي عبدالغني"}, {"http://cdn.top4top.net/d_1bdeddfd2f4.mp3","شيلة لاضاق صدري"}, {"http://cdn.top4top.net/d_df66c98fef1.mp3","شيلة ي سعد ربعي"}, {"http://cdn.top4top.net/d_022ff6fb194.mp3","شيلة صديت اصحابي"}, {"http://cdn.top4top.net/d_57f03999705.mp3","شيلة اجمل غلا"}, {"http://cdn.top4top.net/d_abf5200a461.mp3","شيلة الحب"}, {"http://cdn.top4top.net/d_57f03999703.mp3","شيلة عسير الهول"}, {"http://cdn.top4top.net/d_abf5200a462.mp3","شيلة الزعامة"}, } function centerWindow(center_window,xx,yy) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/xx,(screenH-windowH)/yy guiSetPosition(center_window,x,y,false) end GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, scrollbar = {}, gridlist = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(398, 99, 609, 595, "=! (لـــوحـــة آلشـيـلآت ~ | ~ Panel-Shilat) !=", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FEE90000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 23, 590, 562, "logo.png", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:3EB70000 tr:3EB70000 bl:3EB70000 br:3EB70000") GUIEditor.label[1] = guiCreateLabel(78, 20, 435, 54, "=! (لـــوحـــة آلشـيـلآت ~ | ~ Panel-Shilat) !=", false, GUIEditor.staticimage[1]) local font0_seguisym = guiCreateFont("seguisym.ttf", 17) guiSetFont(GUIEditor.label[1], font0_seguisym) guiLabelSetColor(GUIEditor.label[1], 255, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.gridlist[1] = guiCreateGridList(74, 84, 458, 367, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Shilat", 0.9) for i = 1, 20 do guiGridListAddRow(GUIEditor.gridlist[1]) end GUIEditor.button[1] = guiCreateButton(379, 387, 18, 30, "", false, GUIEditor.gridlist[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(405, 470, 164, 48, "تـشـغيل#", false, GUIEditor.staticimage[1]) local font1_seguisym = guiCreateFont("seguisym.ttf", 23) guiSetFont(GUIEditor.button[2], font1_seguisym) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FEE90000") GUIEditor.button[3] = guiCreateButton(405, 524, 164, 38, "#آيـقآف", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[3], font1_seguisym) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FEE90000") GUIEditor.scrollbar[1] = guiCreateScrollBar(58, 532, 282, 20, true, false, GUIEditor.staticimage[1]) GUIEditor.label[2] = guiCreateLabel(84, 467, 220, 70, "آلــصـــوت", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font1_seguisym) guiLabelSetColor(GUIEditor.label[2], 183, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.button[4] = guiCreateButton(10, 527, 34, 33, "X", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FEE90000") for i,V in ipairs(Shilat) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) local num = i guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, num..'- '..V[2], false, false) guiGridListSetItemData(GUIEditor.gridlist[1], row, 1, tostring(V[1])) local math = math.random local r,b,g = math(0,255),math(0,255),math(0,255) guiGridListSetItemColor ( GUIEditor.gridlist[1], row, 1, r,b,g ) end end ) addEventHandler("onClientGUIClick", root, function () if source == GUIEditor.button[4] then guiSetVisible(GUIEditor.window[1], false) showCursor(false) elseif source == GUIEditor.button[2] then local selSong = guiGridListGetItemData(GUIEditor.gridlist[1], guiGridListGetSelectedItem(GUIEditor.gridlist[1])) if selSong then if isElement(music) then destroyElement(music) end music = playSound(tostring(selSong),true) end elseif source == GUIEditor.button[3] then if isElement(music) then destroyElement(music) end end end ) addEventHandler( "onClientGUIScroll", resourceRoot, function( ) if ( source == GUIEditor.scrollbar[1] or source == GUIEditor.scrollbar[2] ) then if ( isElement ( music ) ) then local ScrollPosition if source == GUIEditor.scrollbar[2] then ScrollPosition_ = ( guiScrollBarGetScrollPosition ( GUIEditor.scrollbar[2] ) / 2 ) / 30 setSoundSpeed ( music, ScrollPosition_ ) else ScrollPosition_ = ( guiScrollBarGetScrollPosition ( GUIEditor.scrollbar[1] ) / 2 ) / 30 setSoundVolume ( music, ScrollPosition_ ) end end end end ) addCommandHandler('شيلات',function() guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) سعدوني ارجوكم Link to comment
TAPL Posted January 4, 2016 Share Posted January 4, 2016 تعبت نفسك و انت تسوي الموضوع و ما ذكرت وش هي المشكلة؟ Link to comment
Me[Z]oO Posted January 4, 2016 Share Posted January 4, 2016 تعبت نفسك و انت تسوي الموضوع و ما ذكرت وش هي المشكلة؟ Link to comment
Jupi Posted January 4, 2016 Share Posted January 4, 2016 تعبت نفسك و انت تسوي الموضوع و ما ذكرت وش هي المشكلة؟ لا يوجد شيء مضحك Link to comment
iMr ~ MnHmAr Posted January 5, 2016 Author Share Posted January 5, 2016 تعبت نفسك و انت تسوي الموضوع و ما ذكرت وش هي المشكلة؟ م يشتغل م يجيء هذي هي المشكله ي الغاليء Link to comment
Me[Z]oO Posted January 5, 2016 Share Posted January 5, 2016 تعبت نفسك و انت تسوي الموضوع و ما ذكرت وش هي المشكلة؟ م يشتغل م يجيء هذي هي المشكله ي الغاليء صورة من الدي بق سكربت + اطرح ملف الميتا Link to comment
SycroX Posted January 5, 2016 Share Posted January 5, 2016 ميتا شو و سيتا شو بس كل المشكلة انو حاطت في اخر رو فل Table , لهيك ما ضاف شي للجريد لست بدل الكلنت حقك بدي GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, scrollbar = {}, gridlist = {} } local Shilat = { {"http://cdn.top4top.net/d_6633b77e561.mp3","حبيبي شارب شاهي"}, {"http://cdn.top4top.net/d_11668d4a9b1.mp3","شيلة المعنى"}, {"http://cdn.top4top.net/d_c7fc5e3aeb1.mp3","شيلة رآعي الجيب "}, {"http://cdn.top4top.net/d_c36a05a5251.mp3","شيلة حالتي حالة"}, {"http://cdn.top4top.net/d_93f673b3ce1.mp3","شيلة وداعة الله"}, {"http://cdn.top4top.net/d_46e047a2951.mp3","شيلة صبلي يانور"}, {"http://cdn.top4top.net/d_dd9ad629251.mp3","شيلة أبرق الريش"}, {"http://cdn.top4top.net/d_8f86e81d9a1.mp3","ي صعي والله"}, {"http://cdn.top4top.net/d_8f86e81d9a2.mp3","البيت جنب"}, {"http://cdn.top4top.net/d_8f86e81d9a3.mp3","الفجر الجديد"}, {"http://cdn.top4top.net/d_3ebeb787751.mp3"," صدتك عني غريبة"}, {"http://cdn.top4top.net/d_8f86e81d9a9.mp3"," شيلة مسموح ترحل"}, {"http://cdn.top4top.net/d_8f86e81d9a10.mp3","شيلة ي حظ"}, {"http://cdn.top4top.net/d_cb12531a141.mp3","شيلة شرهات النشاما"}, {"http://cdn.top4top.net/d_8f86e81d9a6.mp3","شيلة علوم الرجاجيل "}, {"http://cdn.top4top.net/d_8f86e81d9a5.mp3","شيلة اللكزس"}, {"http://cdn.top4top.net/d_8f86e81d9a4.mp3","شيلة البارحه"}, {"http://cdn.top4top.net/d_73f1e0acdd1.mp3","شيلة هزني في الحشا"}, {"http://cdn.top4top.net/d_73f1e0acdd2.mp3","شيلة ابشر"}, {"http://cdn.top4top.net/d_73f1e0acdd4.mp3","شيلة الرفق"}, {"http://cdn.top4top.net/d_73f1e0acdd5.mp3","شيلة العيد"}, {"http://cdn.top4top.net/d_73f1e0acdd6.mp3","شيلة امحق وجيه"}, {"http://cdn.top4top.net/d_3c2ff0dfce1.mp3","شيلة لا زهمني"}, {"http://cdn.top4top.net/d_3c2ff0dfce2.mp3","شيلة لي صاحب"}, {"http://cdn.top4top.net/d_3c2ff0dfce3.mp3","شيلة ما عاد فيها ي نشاما"}, {"http://cdn.top4top.net/d_3c2ff0dfce4.mp3","شيلة ي مرحبا"}, {"http://cdn.top4top.net/d_3c2ff0dfce5.mp3","شيلة ي زين سلم"}, {"http://cdn.top4top.net/d_3c2ff0dfce6.mp3","شيلة ي صاحبي"}, {"http://cdn.top4top.net/d_3c2ff0dfce7.mp3","شيلة ي طير غنيت"}, {"http://cdn.top4top.net/d_73f1e0acdd9.mp3","شيلة ي ما شكيت الهم"}, {"http://cdn.top4top.net/d_3c2ff0dfce9.mp3","شيلة الرنج"}, {"http://cdn.top4top.net/d_3c2ff0dfce10.mp3","شيلة لاتحسب اني"}, {"http://cdn.top4top.net/d_e2ce8f39521.mp3","شيلة لبيه لبيه"}, {"http://cdn.top4top.net/d_e2ce8f39522.mp3","شيلة لجل الغلا"}, {"http://cdn.top4top.net/d_9ce35d63e01.mp3","شيلة ي خيالي"}, {"http://cdn.top4top.net/d_e2ce8f39525.mp3","شيلة ي بري حالي"}, {"http://cdn.top4top.net/d_e2ce8f39526.mp3","شيلة ي وليفي"}, {"http://cdn.top4top.net/d_e2ce8f39527.mp3","شيلة يقولون الهوى ظالم"}, {"http://cdn.top4top.net/d_ada35faaca1.mp3","شيلة ي فرج"}, {"http://cdn.top4top.net/d_7ea4f660c71.mp3","شيلة ي طير السعد"}, {"http://cdn.top4top.net/d_1bfeb68ce91.mp3","شيلةاجرح حبيبك حلالك"}, {"http://cdn.top4top.net/d_ad77806d7c1.mp3","شيلة شيخ المكارم"}, {"http://cdn.top4top.net/d_1bdeddfd2f2.mp3","شيلة ي فرج"}, {"http://cdn.top4top.net/d_1bdeddfd2f3.mp3","شيلة ي عبدالغني"}, {"http://cdn.top4top.net/d_1bdeddfd2f4.mp3","شيلة لاضاق صدري"}, {"http://cdn.top4top.net/d_df66c98fef1.mp3","شيلة ي سعد ربعي"}, {"http://cdn.top4top.net/d_022ff6fb194.mp3","شيلة صديت اصحابي"}, {"http://cdn.top4top.net/d_57f03999705.mp3","شيلة اجمل غلا"}, {"http://cdn.top4top.net/d_abf5200a461.mp3","شيلة الحب"}, {"http://cdn.top4top.net/d_57f03999703.mp3","شيلة عسير الهول"}, {"http://cdn.top4top.net/d_abf5200a462.mp3","شيلة الزعامة"} } function centerWindow(center_window,xx,yy) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/xx,(screenH-windowH)/yy guiSetPosition(center_window,x,y,false) end GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, scrollbar = {}, gridlist = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(398, 99, 609, 595, "=! (لـــوحـــة آلشـيـلآت ~ | ~ Panel-Shilat) !=", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FEE90000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 23, 590, 562, "logo.png", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:3EB70000 tr:3EB70000 bl:3EB70000 br:3EB70000") GUIEditor.label[1] = guiCreateLabel(78, 20, 435, 54, "=! (لـــوحـــة آلشـيـلآت ~ | ~ Panel-Shilat) !=", false, GUIEditor.staticimage[1]) local font0_seguisym = guiCreateFont("seguisym.ttf", 17) guiSetFont(GUIEditor.label[1], font0_seguisym) guiLabelSetColor(GUIEditor.label[1], 255, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.gridlist[1] = guiCreateGridList(74, 84, 458, 367, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Shilat", 0.9) for i = 1, 20 do guiGridListAddRow(GUIEditor.gridlist[1]) end GUIEditor.button[1] = guiCreateButton(379, 387, 18, 30, "", false, GUIEditor.gridlist[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(405, 470, 164, 48, "تـشـغيل#", false, GUIEditor.staticimage[1]) local font1_seguisym = guiCreateFont("seguisym.ttf", 23) guiSetFont(GUIEditor.button[2], font1_seguisym) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FEE90000") GUIEditor.button[3] = guiCreateButton(405, 524, 164, 38, "#آيـقآف", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[3], font1_seguisym) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FEE90000") GUIEditor.scrollbar[1] = guiCreateScrollBar(58, 532, 282, 20, true, false, GUIEditor.staticimage[1]) GUIEditor.label[2] = guiCreateLabel(84, 467, 220, 70, "آلــصـــوت", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], font1_seguisym) guiLabelSetColor(GUIEditor.label[2], 183, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.button[4] = guiCreateButton(10, 527, 34, 33, "X", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FEE90000") for i,V in ipairs(Shilat) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) local num = i guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, num..'- '..V[2], false, false) guiGridListSetItemData(GUIEditor.gridlist[1], row, 1, tostring(V[1])) local math = math.random local r,b,g = math(0,255),math(0,255),math(0,255) guiGridListSetItemColor ( GUIEditor.gridlist[1], row, 1, r,b,g ) end end ) addEventHandler("onClientGUIClick", root, function () if source == GUIEditor.button[4] then guiSetVisible(GUIEditor.window[1], false) showCursor(false) elseif source == GUIEditor.button[2] then local selSong = guiGridListGetItemData(GUIEditor.gridlist[1], guiGridListGetSelectedItem(GUIEditor.gridlist[1])) if selSong then if isElement(music) then destroyElement(music) end music = playSound(tostring(selSong),true) end elseif source == GUIEditor.button[3] then if isElement(music) then destroyElement(music) end end end ) addEventHandler( "onClientGUIScroll", resourceRoot, function( ) if ( source == GUIEditor.scrollbar[1] or source == GUIEditor.scrollbar[2] ) then if ( isElement ( music ) ) then local ScrollPosition if source == GUIEditor.scrollbar[2] then ScrollPosition_ = ( guiScrollBarGetScrollPosition ( GUIEditor.scrollbar[2] ) / 2 ) / 30 setSoundSpeed ( music, ScrollPosition_ ) else ScrollPosition_ = ( guiScrollBarGetScrollPosition ( GUIEditor.scrollbar[1] ) / 2 ) / 30 setSoundVolume ( music, ScrollPosition_ ) end end end end ) addCommandHandler('شيلات',function() guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) Link to comment
#DRAGON!FIRE Posted January 5, 2016 Share Posted January 5, 2016 @ #x1AhMeD,-09 : ترا عادي تحط فاصلة اخر رو بالتيبل بالنسبة لصاحب الموضوع اكتب بـ اف 8 .. debugscript 3 وصور لنا لو في اخطاء . Link to comment
iMr ~ MnHmAr Posted January 5, 2016 Author Share Posted January 5, 2016 @ #x1AhMeD,-09 : ترا عادي تحط فاصلة اخر رو بالتيبلبالنسبة لصاحب الموضوع اكتب بـ اف 8 .. debugscript 3 وصور لنا لو في اخطاء . ي الغالي حليت المشكله مشكورينء والله م قصرتو 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