Abdul KariM Posted March 26, 2016 Share Posted March 26, 2016 ماعتقد يضبط لان يوم تسوي شي خارج اللوحة ماراح يتحرك معه ويوم تسوي شي داخل اللوحة مافيه خيارات حقت الدي اكس Link to comment
#|_oskar_|# Posted March 26, 2016 Share Posted March 26, 2016 يستخدم ذا الكود وان شاء الله يضبط guiGetPosition Link to comment
Abdul KariM Posted March 26, 2016 Share Posted March 26, 2016 يستخدم ذا الكود وان شاء الله يضبط guiGetPosition في حدث onClientGUIClick يتحقق انه ضغط على النافذة و يستخدم البارتمنز الثالث والرابع Link to comment
#|_oskar_|# Posted March 26, 2016 Share Posted March 26, 2016 يستخدم ذا الكود وان شاء الله يضبط guiGetPosition في حدث onClientGUIClick يتحقق انه ضغط على النافذة و يستخدم البارتمنز الثالث والرابع onClientGUIMove Link to comment
Abdul KariM Posted March 26, 2016 Share Posted March 26, 2016 يستخدم ذا الكود وان شاء الله يضبط guiGetPosition في حدث onClientGUIClick يتحقق انه ضغط على النافذة و يستخدم البارتمنز الثالث والرابع onClientGUIMove مافيه بارتمنز كيف بيحرك الدي اكس تكست <> Link to comment
MohamedWaheed Posted March 26, 2016 Author Share Posted March 26, 2016 ي جدي فكك من الدي اكس كود اوسكار ما ابية ميمو ابيه لاببل label فهمت ؟ وشكرا Link to comment
Abdul KariM Posted March 26, 2016 Share Posted March 26, 2016 ي جدي فكك من الدي اكسكود اوسكار ما ابية ميمو ابيه لاببل label فهمت ؟ وشكرا الميمو راح يحطها على شكل اسطر بالنسبة لليبل , راح يجيك نص الكلام يعني جزء مخفي وجزء ظاهر Link to comment
MohamedWaheed Posted March 26, 2016 Author Share Posted March 26, 2016 طيب يعنى لا محال الا الميمو !؟ Link to comment
#|_oskar_|# Posted March 26, 2016 Share Posted March 26, 2016 انت تبي بدل الميمو نص يكون دي اكس ولا وش قصدك ؟ Link to comment
Me[Z]oO Posted March 26, 2016 Share Posted March 26, 2016 local Rules = { {"قوانين السيرفر",'هنا تكتب قوانين سيرفرك '}, {"من نحن",'هنا اكتب من نحن مواصفات اي شئ اللى تحب تكتبه اكتبه'}, } local screenW, screenH = guiGetScreenSize() window = guiCreateWindow((screenW - 663) / 2, (screenH - 534) / 2, 663, 534, "قوانين وشروط السيرفر الرجاء الالتزام بها", false) guiWindowSetSizable(window, false) guiSetAlpha(window, 1.00) gridlist = guiCreateGridList(9, 26, 190, 498, false, window) guiGridListAddColumn(gridlist, "القوانين والشروط", 0.9) button = guiCreateButton(204, 487, 449, 37, "اغلاق اللوحه", false, window) memo = guiCreateLabel(199, 24, 454, 459, "", false, window) guiSetAlpha(memo, 0.60) guiMemoSetReadOnly(memo, true) for _, rules in pairs(Rules) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist,row,1,rules[1],false,false) end addEventHandler( "onClientGUIClick",root, function( ) if source == gridlist then if (guiGridListGetSelectedItem(gridlist) == -1) then return end for _, rules in pairs(Rules) do if (guiGridListGetItemText(gridlist,guiGridListGetSelectedItem(gridlist), 1) == rules[1]) then guiSetText(memo,rules[2],100000) end end elseif source == button then guiSetVisible (window, false) showCursor(false) end end) guiSetVisible (window, false) bindKey ("F5", "down", function() guiSetVisible(window, not guiGetVisible(window)) showCursor(guiGetVisible(window)) end) Link to comment
#|_oskar_|# Posted March 27, 2016 Share Posted March 27, 2016 اذا كنت تبي الكلام دى اكس سويته لك local Rules = { {"قوانين السيرفر", "File1.txt",133,150,0}, {"من نحن", "File2.txt",50,100,0},} ruleS = 'Rules By oskar' local screenW, screenH = guiGetScreenSize() window = guiCreateWindow((screenW - 663) / 2, (screenH - 534) / 2, 663, 534, "قوانين وشروط السيرفر الرجاء الالتزام بها", false) guiWindowSetSizable(window, false) guiSetAlpha(window, 1.00) local X,Y = guiGetPosition(window, false) addEventHandler("onClientGUIMove",window,function () X,Y = guiGetPosition(window, false) end, false) color = tocolor(255,255,255,100) function r1() dxDrawRectangle(X+199,Y+24,454, 459,color,true) dxDrawText (tostring(ruleS),X+201,Y+30, 454,30, tocolor(255,255,255,255),1, "default-bold", "left", "top", false,false, true, false, false) end gridlist = guiCreateGridList(9, 26, 190, 498, false, window) guiGridListAddColumn(gridlist, "القوانين والشروط", 0.9) button = guiCreateButton(204, 487, 449, 37, "اغلاق اللوحه", false, window) for _, rules in pairs(Rules) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist,row,1,rules[1],false,false) end addEventHandler( "onClientGUIClick",root,function( ) if source == gridlist then for _, rules in pairs(Rules) do if (guiGridListGetItemText(gridlist,guiGridListGetSelectedItem(gridlist), 1) == rules[1]) then ruleS = fileRead(fileOpen(rules[2]),99999) color = tocolor(rules[3],rules[4],rules[5],255) end end elseif source == button then guiSetVisible (window, false) showCursor(false) removeEventHandler("onClientRender",root,r1) end end) guiSetVisible (window, false) bindKey("F5", "down",function ( ) if guiGetVisible (window) then guiSetVisible (window, false ) showCursor ( false ) removeEventHandler("onClientRender",root,r1) else guiSetVisible (window, true ) showCursor (true) addEventHandler("onClientRender",root,r1) end end) Link to comment
MohamedWaheed Posted March 27, 2016 Author Share Posted March 27, 2016 local Rules = { {"قوانين السيرفر", "File1.txt",200}, {"من نحن", "File2.txt",200}, } الكلام العربي بيكون غريب ومخربط ! Link to comment
#|_oskar_|# Posted March 27, 2016 Share Posted March 27, 2016 local Rules = {{"قوانين السيرفر", "File1.txt",200}, {"من نحن", "File2.txt",200}, } الكلام العربي بيكون غريب ومخربط ! الملفات اللى انت سويتهم جديد خلي الترميز حقهم UTF-8 Link to comment
MohamedWaheed Posted March 27, 2016 Author Share Posted March 27, 2016 اوك بشوف بالنسبة للدي اكس الدي اكس = dxDrawRectangle مب Text ! Link to comment
#|_oskar_|# Posted March 27, 2016 Share Posted March 27, 2016 حاطه لك كغلاف فقط وتقدر تغير لونه واذا كنت تبي تحذفه احذفه عادي Link to comment
MohamedWaheed Posted March 27, 2016 Author Share Posted March 27, 2016 يعني ما يأثر ويظهر الكلام صح ؟ Link to comment
#|_oskar_|# Posted March 27, 2016 Share Posted March 27, 2016 يعني ما يأثر ويظهر الكلام صح ؟ ايش رئيك تجرب بنفسك وتشوف Link to comment
MohamedWaheed Posted March 27, 2016 Author Share Posted March 27, 2016 تمت الافادة والتجربة Link to comment
MohamedWaheed Posted March 27, 2016 Author Share Posted March 27, 2016 سؤال جديد هل يمكن ان يكون الدي اكس زر ؟؟ وكيف اسوي خلف مثلآ لوحة تسجيل Blur ضباب ؟ Link to comment
#|_oskar_|# Posted March 27, 2016 Share Posted March 27, 2016 يب تقدر ب استخدام الحدث onClientClick وتستخدم البراتمرس عشان تجيب الاحداثيات string button, string state, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld وبالنسبه انك تخلي اللوحه شفافه شوف ذا المود https://community.multitheftauto.com/in ... s&id=10163 Link to comment
ivor Posted March 28, 2016 Share Posted March 28, 2016 تمت الافاده حياكم دارك سايد وايرور Link to comment
#|_oskar_|# Posted March 28, 2016 Share Posted March 28, 2016 تمت الافاده حياكم دارك سايد وايرور ايش دخلك بالموضوع ؟ Link to comment
Jupi Posted March 28, 2016 Share Posted March 28, 2016 تمت الافاده حياكم دارك سايد وايرور ايش دخلك بالموضوع ؟ هو هو لكن بحساب ثاني يا ابله Link to comment
#|_oskar_|# Posted March 28, 2016 Share Posted March 28, 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