iMr.TZ[W]ER Posted July 2, 2014 Share Posted July 2, 2014 السلام عليكم ورحمة الله تعالى وبركاته كيف حالكم يا شباب ؟ كل عام وانتم بخير وصحة وسلامة شباب اشوف بالكومنيتي مودات مكتوب انها مصممة بال DX فحبيت اعرف وش هو الدي اكس وشلون اقدر استخدمه Link to comment
acount deleted Posted July 2, 2014 Share Posted July 2, 2014 السلام عليكم ورحمة الله تعالى وبركاتهكيف حالكم يا شباب ؟ كل عام وانتم بخير وصحة وسلامة شباب اشوف بالكومنيتي مودات مكتوب انها مصممة بال DX فحبيت اعرف وش هو الدي اكس وشلون اقدر استخدمه الدي اكس تقدر تستخدمه بالguieditor بس تعطي مضهر احلى للمودات و التصاميم شوف ذي مثلا بس راح تلقى فنكشاتها بالويكي it's not mine ماهي حقي فنكشاتها هنا Link to comment
#DRAGON!FIRE Posted July 2, 2014 Share Posted July 2, 2014 https://community.multitheftauto.com/in ... ls&id=2136 Link to comment
iMr.TZ[W]ER Posted July 2, 2014 Author Share Posted July 2, 2014 شباب هذا مود ولا شلون ؟ + ما عرفت استخدمه ي ريت لو فيه شرح الويكي ما فهمت منه شي Link to comment
xFace[B]ook Posted July 3, 2014 Share Posted July 3, 2014 النوافذ Dx تعطيك شكل احلى من الـ Gui لكن الـ Dx يبي شغل كثير تسويه بـ dxDrawRectangle dxDrawText or dxDrawImage واذا تبيه يضغط سو له ليبل مخفي او زر او اذا ماتبي سو ب ذا 'onClientClick' Link to comment
#=|>[A]sMr,\~> Posted July 3, 2014 Share Posted July 3, 2014 https://community.multitheftauto.com/index.php?p=resources&s=details&id=2136 كيف يشتغل المود انا حملته ماعرفت اشغله Link to comment
TAPL Posted July 3, 2014 Share Posted July 3, 2014 https://community.multitheftauto.com/index.php?p=resources&s=details&id=2136 كيف يشتغل المود انا حملته ماعرفت اشغله موجود واحد غيره جرب https://community.multitheftauto.com/index.php?p=resources&s=details&id=4871 Link to comment
nxFairlywell Posted July 3, 2014 Share Posted July 3, 2014 النوافذ Dx تعطيك شكل احلى من الـ Gui لكن الـ Dx يبي شغل كثير تسويه بـ dxDrawRectangle dxDrawText or dxDrawImage واذا تبيه يضغط سو له ليبل مخفي او زر او اذا ماتبي سو ب ذا 'onClientClick' ي فيسبوك انا مسوي نفس الطريقة الي قلتها بس الـ dx لما اقفل اللوحه مايروح تبقى الازرار والخطوط حق الـ dx موجوده في الشاشه Link to comment
TAPL Posted July 3, 2014 Share Posted July 3, 2014 onClientRender احذف الأفنت removeEventHandler Link to comment
nxFairlywell Posted July 3, 2014 Share Posted July 3, 2014 onClientRender احذف الأفنت removeEventHandler كفو ^_^" تسلم ي تابل Link to comment
nxFairlywell Posted July 3, 2014 Share Posted July 3, 2014 addEventHandler("onClientRender", getRootElement(), drawText) function drawText() dxDrawRectangle(408, 347, 154, 41, tocolor(200, 212, 8, 83), true, wnd) dxDrawRectangle(572, 347, 154, 41, tocolor(233, 0, 0, 83), true, wnd) dxDrawLine(221, 15, 221, 541, tocolor(216, 0, 0, 254), 3, true, wnd) dxDrawLine(219, 540, 1365, 540, tocolor(216, 0, 0, 254), 3, true, wnd) removeEventHandler("onClientRender", getRootElement(), drawText) end تابل انا سويته كذا بس ماعاد تظهر Link to comment
TAPL Posted July 4, 2014 Share Posted July 4, 2014 وريني الكود لما تظهر و تخفي النافذه Link to comment
nxFairlywell Posted July 4, 2014 Share Posted July 4, 2014 وريني الكود لما تظهر و تخفي النافذه دوك Client local FTH = "0" ----- ذا الزر 0 function Show () getVisible = guiGetVisible (wnd) if (getVisible == true) then guiSetVisible (wnd, false) showCursor (false) guiSetInputEnabled(false) end if (getVisible == false) then showCursor (true) setTimer(function() guiSetAlpha ( wnd, tonumber(0) ) guiSetVisible (wnd, true) end,100,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.1) ) end,200,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.2) ) end,300,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.3) ) end,400,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.4) ) end,500,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.5) ) end,600,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.6) ) end,700,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.7) ) end,800,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.8 )) end,900,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.9) ) end,1000,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(1) ) end,1000,1,true) end end bindKey(FTH,"down",Show) --------- FTH = قيمة انا محددها لفتح اللوحه Link to comment
iMr.TZ[W]ER Posted July 4, 2014 Author Share Posted July 4, 2014 يعني مثلا dxDrawRectangle احط له احداثيات الزر وهو يتحول لزر ولا كيف ؟ والكتابة شلون اخليها عليه Link to comment
nxFairlywell Posted July 4, 2014 Share Posted July 4, 2014 يعني مثلا dxDrawRectangle احط له احداثيات الزر وهو يتحول لزر ولا كيف ؟ والكتابة شلون اخليها عليه نو , ذي اداة مالها علاقه بالزر بس انت تضبطها واذا تبيها تكون زر حط لها ليبل Link to comment
nxFairlywell Posted July 4, 2014 Share Posted July 4, 2014 وريني الكود لما تظهر و تخفي النافذه دوك Client local FTH = "0" ----- ذا الزر 0 function Show () getVisible = guiGetVisible (wnd) if (getVisible == true) then guiSetVisible (wnd, false) showCursor (false) guiSetInputEnabled(false) end if (getVisible == false) then showCursor (true) setTimer(function() guiSetAlpha ( wnd, tonumber(0) ) guiSetVisible (wnd, true) end,100,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.1) ) end,200,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.2) ) end,300,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.3) ) end,400,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.4) ) end,500,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.5) ) end,600,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.6) ) end,700,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.7) ) end,800,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.8 )) end,900,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.9) ) end,1000,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(1) ) end,1000,1,true) end end bindKey(FTH,"down",Show) --------- FTH = قيمة انا محددها لفتح اللوحه خلاص صلحته وومشكور تابل + هذا الكود بعد التصليح ولحس المخ function Show () getVisible = guiGetVisible (wnd) if (getVisible == true) then guiSetVisible (wnd, false) showCursor (false) guiSetInputEnabled(false) removeEventHandler( "onClientRender", root, dx ) ----- عند اغلاق اللوحه يحذف الدي اكس end if (getVisible == false) then showCursor (true) setTimer(function() guiSetAlpha ( wnd, tonumber(0) ) guiSetVisible (wnd, true) addEventHandler( "onClientRender", root, dx ) ----- عند فتح اللوحه يفتح الدي اكس end,100,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.1) ) end,200,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.2) ) end,300,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.3) ) end,400,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.4) ) end,500,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.5) ) end,600,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.6) ) end,700,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.7) ) end,800,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.-- s8) --> ) end,900,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.9) ) end,1000,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(1) ) end,1000,1,true) end end bindKey(Key,"down",Show) 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