Mr.OppS 2 Posted July 4, 2018 السلام عليكم، شباب أبي اسوي للفري روم الأصلية صورة خلفية !! كيف؟ ( أريد اخلي صورة خلفيه للفري روم الأصلية و أستطيع تحريك لوحة للفري روم بحرية ) شكرا Share this post Link to post
Dr.Marco 121 Posted July 4, 2018 بنسبة تسوي خلفية function guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "اسم الخلفية.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 700, 100, " "..titleBarText2, false, mainBackground ) guiSetAlpha( mainBackground, 0.9) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end كيف يعني تحرك لوحة فريروم بحرية يعني تخلي لوحة تتحرك ؟ Share this post Link to post
Mr.OppS 2 Posted July 4, 2018 18 hours ago, Dr.Marco said: بنسبة تسوي خلفية function guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "اسم الخلفية.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 700, 100, " "..titleBarText2, false, mainBackground ) guiSetAlpha( mainBackground, 0.9) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end كيف يعني تحرك لوحة فريروم بحرية يعني تخلي لوحة تتحرك ؟ سويت الكود حقكك , ولكن لا يسوي اللوحة تتـحرك !ض شوف كيف Share this post Link to post
Dr.Marco 121 Posted July 4, 2018 Just now, Mr.OppS said: سويت الكود حقكك , ولكن لا يسوي اللوحة تتـحرك !ض شوف كيف الكود حقي حق الخلفية مو حق تحريك لوحة Share this post Link to post
Mr.OppS 2 Posted July 4, 2018 5 minutes ago, Dr.Marco said: الكود حقي حق الخلفية مو حق تحريك لوحة أنا اريد خلفيه+تتحرك ايضاً Share this post Link to post
MrKAREEM 135 Posted July 5, 2018 يقصد انه يحرك الصورة لما يضغط بالماوس عليها مثل اللوحة العادية اعتقد فيه ريسورس لها بس ما جربته علي فري روم Share this post Link to post
Mr.OppS 2 Posted July 5, 2018 2 hours ago, MrKAREEM said: يقصد انه يحرك الصورة لما يضغط بالماوس عليها مثل اللوحة العادية اعتقد فيه ريسورس لها بس ما جربته علي فري روم Yes Up Share this post Link to post
TOUNSI |, السعأدة 388 Posted July 5, 2018 مشكلةة اخوي انا سويتها مرة فري روم تتحرك , بس يوم بخش احط لون للموتر مبقدر ع شن لوحةة تتحرك تصير م انصحك Share this post Link to post
Mr.OppS 2 Posted July 5, 2018 4 minutes ago, MR.TOUNSI said: مشكلةة اخوي انا سويتها مرة فري روم تتحرك , بس يوم بخش احط لون للموتر مبقدر ع شن لوحةة تتحرك تصير م انصحك مو مشكلة اخى, حط الأكود وشباب أكيد ميقصرون Share this post Link to post
TOUNSI |, السعأدة 388 Posted July 5, 2018 Just now, Mr.OppS said: مو مشكلة اخى, حط الأكود وشباب أكيد ميقصرون function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2, absoluteX, absoluteY ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "background.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 5, width2, height2, titleBarText2, false, mainBackground ) guiLabelSetHorizontalAlign( mainBackgroundLabel, "center" ) guiSetFont ( mainBackgroundLabel, myFont2 ) return mainBackground end Share this post Link to post
Mr.OppS 2 Posted July 5, 2018 1 minute ago, MR.TOUNSI said: function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2, absoluteX, absoluteY ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "background.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 5, width2, height2, titleBarText2, false, mainBackground ) guiLabelSetHorizontalAlign( mainBackgroundLabel, "center" ) guiSetFont ( mainBackgroundLabel, myFont2 ) return mainBackground end نفس الأكواد مافي أخـتـلاف On 7/4/2018 at 05:01, Dr.Marco said: بنسبة تسوي خلفية function guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "اسم الخلفية.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 700, 100, " "..titleBarText2, false, mainBackground ) guiSetAlpha( mainBackground, 0.9) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end Share this post Link to post
TOUNSI |, السعأدة 388 Posted July 5, 2018 6 minutes ago, Mr.OppS said: نفس الأكواد مافي أخـتـلاف يخي كيف م في اختلاف جرب الكود وارجع قولي وش صار معك Share this post Link to post
Mr.OppS 2 Posted July 5, 2018 1 hour ago, MR.TOUNSI said: يخي كيف م في اختلاف جرب الكود وارجع قولي وش صار معك أكيد،جربت! و بعد كتبت النتيجة ما في اختلاف فقط يصير صورة خلفيه و لا أستطيع تحريك اللوحة !! راجع انت اكوادك Share this post Link to post
MrKAREEM 135 Posted July 5, 2018 مب دي هو دا الريسورس https://community.mtasa.com/index.php?p=resources&s=details&id=10330 Share this post Link to post