Jump to content

مساعدة


^#Dream

Recommended Posts

السلام عليكم

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...