#StrOnG_,) Posted July 31, 2015 Posted July 31, 2015 السلام عليكم ورحمه الله وبركاته كيفكم شباب ان شاء الله بخير .. المهممم ابي كود لما أضغط على الزر أو أللمسه يصير لونه أحمر ولما أبعد ألمؤشر عنه يرجع للون الافتراضي وشكرا Quote "I ain't saying I'm the best, but I should be in the top ten; give me a list of names, I'ma top them, I'm just playing with ya. I don't care where the top is, Leave me at the bottom, let me work for it." _________________________________________________________________________________________________________________ ACM W_#9661
justboy Posted July 31, 2015 Posted July 31, 2015 onClientMouseEnter</p>\n<p>onClientMouseLeave او اذا كنت تقصد اكواد dx فإستخدم function isMouseInPosition(x, y, width, height) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize( ) local cx, cy = getCursorPosition( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end للتواصل سكايب : - justboyjb Email : - [email protected]
iMr.SFA7 Posted July 31, 2015 Posted July 31, 2015 (edited) addEventHandler ( "onClientMouseEnter", root, function ( ) if source == Button then guiSetProperty(Button, "NormalTextColour", "FFFF0000"); end end ) addEventHandler ( "onClientMouseLeave", root, function ( ) if source == Button then guiSetProperty(Button, "NormalTextColour", "FFFFFFFF"); end end ) Edited July 31, 2015 by Guest "A Year from Now You May Wish You Had Started Today"
The moVer Posted July 31, 2015 Posted July 31, 2015 onClientMouseEnter<p>onClientMouseLeave او اذا كنت تقصد اكواد dx فإستخدم function isMouseInPosition(x, y, width, height) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize( ) local cx, cy = getCursorPosition( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end في طريقة اسهل للدي اكس يمديك تسوي زر عادي مو دي اكس وتخلي الشفافية 0 واعمل انه كل ما تدخل الماوس الزر يتغير الدي اكس الفنكشنات guiSetAlpha onClientMouseEnter onClientMouseLeave BACK! هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك
#Mr.Rajo~,< Posted July 31, 2015 Posted July 31, 2015 راعي الموضوع كاتب يصير لونه احمر وسفاح عطاه الكود وش دخل الشفافيه
iMr.SFA7 Posted July 31, 2015 Posted July 31, 2015 آصلاً هو ماقال أنه دي أكس ! "A Year from Now You May Wish You Had Started Today"
Mr Avira Posted July 31, 2015 Posted July 31, 2015 onClientMouseEnter<p>onClientMouseLeave او اذا كنت تقصد اكواد dx فإستخدم function isMouseInPosition(x, y, width, height) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize( ) local cx, cy = getCursorPosition( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end في طريقة اسهل للدي اكس يمديك تسوي زر عادي مو دي اكس وتخلي الشفافية 0 واعمل انه كل ما تدخل الماوس الزر يتغير الدي اكس الفنكشنات guiSetAlpha onClientMouseEnter onClientMouseLeave كلامك خطأ هو ما قال شئ عن الدي اكس وسفاح عطاه الكود خلاص [9MoD] - Car Wars / Shooter / DM / DD / Race KSA BH سيرفر صمود لحرب السيارات IP : mtasa://51.254.116.69:22103
The moVer Posted August 1, 2015 Posted August 1, 2015 انتم ما فهمتو قصدي #unknown عطاه كود للدي اكس اذا بسوي دي اكس انا اعرف طريقه اسهل وكتبتها BACK! هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك
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