^#Dream Posted September 18, 2014 Share Posted September 18, 2014 السلام عليكم function movetocenter(move_window) local kemo = 0 local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(move_window,false) local x = (screenW-windowW)/2 - 1000 local y = (screenH-windowH)/2 guiSetPosition(move_window,x,y,false) guiSetVisible(move_window,true) setTimer(function() kemo = kemo + 50 guiSetPosition(move_window,x+kemo ,y,false) end,300, 20) end ^ ذا كود كيمو حق تحريك النافذه من اليسار الى الوسط بس المشكلة ماعرفت اخليه يجي من الوسط الى تحت يعني الحين الاحداثيات حقت النافذه تجي بالوسط وانا مخليه تحت Window = guiCreateStaticImage(0, 465, 800, 135, "ScriptBG.png", false) Link to comment
#DRAGON!FIRE Posted September 18, 2014 Share Posted September 18, 2014 Booo استخدم فنكشنات Link to comment
^#Dream Posted September 18, 2014 Author Share Posted September 18, 2014 جربت استخدمه بس مآصلح Link to comment
xX|KeMo|Xx Posted September 18, 2014 Share Posted September 18, 2014 شوف هذا الفنكش يحركـ النافذه بطرق افضل من الفنكشات الجهازهـ interpolateBetween اتوقع رح تواجه صعوبهـ اذا ما عرفت له شوف الموضوع هذا [GIE]GUI Interpolate Effects | By : PaiN^ 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