fsdfdsf Posted January 20, 2015 Share Posted January 20, 2015 انا اريد اغير السكن الخاص ب الادمن بانل نثل ذا ودي اغير الbuttons نفس الي في الصوره وش اساوي؟ Link to comment
#DRAGON!FIRE Posted January 20, 2015 Share Posted January 20, 2015 ع ما اعتقد هذا ما يغير بالاكواد يغير ملفات باللعبة مو متاكد من صحة الامر بس في طريقة ثاني اللي هي function guiCreateButton ( ... ) return guiCreateStaticImage ( ... ) end او شف هذا يفيدكـ : جرب كذا ولا تنسى تحط اسم ومسار الصورة .. : local OrginalImage = "" --- الصورة الاصلية # local onEnter = "" --- عند دخول المؤشر # local onClick = "" --- عند الضغط على الصورة # addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for _,guiElements in ipairs ( getElementsByType ( "gui-button", resourceRoot ) ) do local _x, _y = guiGetPosition ( guiElements, false ) local _w, _h = guiGetSize ( guiElements, false ) replaceimage = guiCreateStaticImage( _x, _y, _w, _h, OrginalImage, false, getElementParent ( guiElements ) ) if ( replaceimage ) then guiSetAlpha ( guiElements, 0 ) addEventHandler( "onClientMouseEnter", replaceimage, function ( ) guiStaticImageLoadImage ( replaceimage, onEnter ) end, false ) addEventHandler( "onClientMouseLeave", replaceimage, function ( ) guiStaticImageLoadImage ( replaceimage, OrginalImage ) end, false ) addEventHandler( "onClientGUIClick", replaceimage, function ( ) guiStaticImageLoadImage ( replaceimage, onClick ) end, false ) end end end ) Link to comment
The Don Posted January 20, 2015 Share Posted January 20, 2015 ذا ثيم وذا رابط الموضوع حقه https://forum.multitheftauto.com/viewto ... 6e4129db14 Link to comment
#MFGR7OM Posted January 20, 2015 Share Posted January 20, 2015 ذا ثيم وذا رابط الموضوع حقه https://forum.multitheftauto.com/viewto ... 6e4129db14 كيف نركبه...*؟ Link to comment
EH10 Posted January 20, 2015 Share Posted January 20, 2015 ذا ثيم وذا رابط الموضوع حقه https://forum.multitheftauto.com/viewto ... 6e4129db14 كيف نركبه...*؟ , أستبدل ملفات .. التي في الرابط التالي : C:\Program Files\MTA San Andreas 1.4\MTA\cgui\images Link to comment
The Don Posted January 21, 2015 Share Posted January 21, 2015 لا تحطه في هالمسار D:\MTA San Andreas\skins او C:\MTA San Andreas\skins وتروح الـ اعددات (Setting) بعدها (Interface) واختار السكن الي حطيته في المسار و اضغظ اوك Link to comment
iPrestege Posted January 21, 2015 Share Posted January 21, 2015 viewtopic.php?f=139&t=37620 هذا شرح فديو هنا تحصل ثيمات : viewforum.php?f=139 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