^#Dream Posted September 18, 2014 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)
xX|KeMo|Xx Posted September 18, 2014 Posted September 18, 2014 شوف هذا الفنكش يحركـ النافذه بطرق افضل من الفنكشات الجهازهـ interpolateBetween اتوقع رح تواجه صعوبهـ اذا ما عرفت له شوف الموضوع هذا [GIE]GUI Interpolate Effects | By : PaiN^
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