AL-SAYED Posted February 22, 2013 Posted February 22, 2013 (edited) ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA) setElementData(ASA2, "tooltip-text", "POLICE", false ,WWA) guiSetAlpha(ASA2 ,0.5) ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA) setElementData(b1, "tooltip-text", "BALLAS", false ,WWA) guiSetAlpha(ASA1,0.5) ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA) setElementData(b3, "tooltip-text", "GROVE", false ,WWA) guiSetAlpha(ASA3 ,0.5) addEventHandler( "onClientMouseEnter", root, function () guiGetAlpha(ASA2 ) if alpha == 0.5 then guiSetAlpha ( ASA2 , 1 ) end end ) انا ابغي اذا دخل الماوس داخل الصورة تصير الوضوح كامل بس المشكله الصورة ما تطلع بالمرة Edited February 22, 2013 by Guest
|Mr|-Talal07-| Posted February 22, 2013 Posted February 22, 2013 طيب تاكد انها في الميتا و نفس الاسم و نفس الصيغه و داخل ملف file
==>ҭᾄlᾄl Posted February 22, 2013 Posted February 22, 2013 addEventHandler( "onClientMouseEnter", root, function () alpha = guiGetAlpha(source) if alpha == 0.5 then guiSetAlpha ( source, 1 ) end end )
|Mr|-Talal07-| Posted February 22, 2013 Posted February 22, 2013 function Alpha() if eventName == "onClientMouseEnter" then guiSetAlpha(source,1) elseif eventName == "onClientMouseLeave" then guiSetAlpha(source,0.5) end end addEventHandler("onClientMouseEnter",resourceRoot,Alpha) addEventHandler("onClientMouseLeave",resourceRoot,Alpha)
iPrestege Posted February 22, 2013 Posted February 22, 2013 جرب / ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA) setElementData(ASA2, "tooltip-text", "POLICE", false) guiSetAlpha(ASA2 ,0.5) ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA) setElementData(ASA1, "tooltip-text", "BALLAS", false) guiSetAlpha(ASA1,0.5) ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA) setElementData(ASA3, "tooltip-text", "GROVE", false) guiSetAlpha(ASA3 ,0.5) addEventHandler( "onClientMouseEnter", resourceRoot, function () local alpha = guiGetAlpha(ASA2) if alpha == 0.5 then guiSetAlpha ( ASA2 , 1 ) end end ) @ TaLaL Required Arguments guiElement: The gui element in which you want to retrieve the alpha of.
iPrestege Posted February 22, 2013 Posted February 22, 2013 الصور تطلع ^ اطرح الميتا والمفروض مسوي صورة رئيسية عليها الـ 3 صور هذي اسمها ؟ WWA
AL-SAYED Posted February 22, 2013 Author Posted February 22, 2013 (edited) ".." description=".." name=".." version="0.1" type="gamemode"/> مسوي نافذه مخفية Edited February 22, 2013 by Guest
iPrestege Posted February 22, 2013 Posted February 22, 2013 طيب يالغلا الصور عليها صور رئيسية صح ؟ كبيرة واسمها التعريفي WWA ? او مافية؟
AL-SAYED Posted February 22, 2013 Author Posted February 22, 2013 وقت الا اشيل guiSetAlpha ( b1 , 0.5 ) تصير ظاهرة واذا احطه ماتطلع الصورة
iPrestege Posted February 22, 2013 Posted February 22, 2013 اكيد لانة مافية صورهـ كذا اصلا اكثر شيء اقدر اساعدك فية ان الكود هذا مو كامل ارسلي الكود كامل خاص ~
|Mr|-Talal07-| Posted February 23, 2013 Posted February 23, 2013 ".." description=".." name=".." version="0.1" type="gamemode"/> مسوي نافذه مخفية يالخ انت مسوي قيم مود ولا سكربت حول gamemode الى script و ان شاء الله يشتغل
3NAD Posted February 23, 2013 Posted February 23, 2013 @ TaLaL Required Arguments guiElement: The gui element in which you want to retrieve the alpha of. source: The source of this event is the GUI element that was pointed at. https://wiki.multitheftauto.com/wiki/OnClientMouseEnter https://wiki.multitheftauto.com/wiki/OnClientMouseLeave
xX|KeMo|Xx Posted March 7, 2013 Posted March 7, 2013 ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA) setElementData(ASA2, "tooltip-text", "POLICE", false ,WWA) guiSetAlpha(ASA2 ,0.5) ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA) setElementData(b1, "tooltip-text", "BALLAS", false ,WWA) guiSetAlpha(ASA1,0.5) ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA) setElementData(b3, "tooltip-text", "GROVE", false ,WWA) guiSetAlpha(ASA3 ,0.5) addEventHandler( "onClientMouseEnter", root, function () guiGetAlpha(ASA2 ) if alpha == 0.5 then guiSetAlpha ( ASA2 , 1 ) end end ) انا ابغي اذا دخل الماوس داخل الصورة تصير الوضوح كامل بس المشكله الصورة ما تطلع بالمرة ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA) setElementData(ASA2, "tooltip-text", "POLICE", false ,WWA) guiSetAlpha(ASA2 ,0.5) ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA) setElementData(b1, "tooltip-text", "BALLAS", false ,WWA) guiSetAlpha(ASA1,0.5) ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA) setElementData(b3, "tooltip-text", "GROVE", false ,WWA) guiSetAlpha(ASA3 ,0.5) addEventHandler("onClientMouseMove",root,function ( x, y ) if ( source == ASA2 ) then guiSetAlpha(ASA2 , 1) elseif ( source == ASA1 ) then guiSetAlpha(ASA1 , 1) elseif ( source == ASA3 ) then guiSetAlpha(ASA1 , 1) end end) addEventHandler("onClientMouseLeave",root,function ( x, y ) if ( source == ASA2 ) then guiSetAlpha(ASA2 , 0.5) elseif ( source == ASA1 ) then guiSetAlpha(ASA2 , 0.5) elseif ( source == ASA3 ) then guiSetAlpha(ASA2 , 0.5) end end) جرب هذاآ وسوي نسخه من القديمـ
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