Event : "onClientGUIClick" -- حدث عند ضغـط الـزر
guiSetVisible -- أختفاء لوحة التسجيل
guiSetVisible -- ظهور الوحة الثانية
اخوي الله يعطيك الف عافيةة
بس ممكن تشرحلي الكود علشان افهمه
function changeVisibility ( )
-- we check if the gui element is visible
guiSetVisible (myWindow, not guiGetVisible ( myWindow ) )
end
--Create a gui window called 'myWindow'
myWindow = guiCreateWindow ( 0.3, 0.3, 0.5, 0.60, "GUI window title", true )
--Set a timer to change the window's visibility every 2 seconds, infinite times
setTimer ( changeVisibility, 2000, 0 )
------------------------------------------------------------------------------------
function changeVisibility ( )
-- we check if the gui element is visible
guiSetVisible (myWindow, not guiGetVisible ( myWindow ) )
end
--Create a gui window called 'myWindow'
myWindow = guiCreateWindow ( 0.3, 0.3, 0.5, 0.60, "GUI window title", true )
--Set a timer to change the window's visibility every 2 seconds, infinite times
setTimer ( changeVisibility, 2000, 0 )