Jump to content

ظهور النافذة ببطئ


Recommended Posts

-- Client Side !
bindKey ( "الزر", "down", 
    function ( ) 
        if ( guiGetVisible ( Wnd ) == true ) then 
            if ( isTimer ( TheFadeTimer ) ) then return end 
            showCursor ( false ) 
            guiSetInputEnabled ( false ) 
            guiSetAlpha ( Wnd, 1 ) 
            TheFadeTimer = setTimer ( function ( ) 
                Alpha = guiGetAlpha ( Wnd ) 
                guiSetAlpha ( Wnd, Alpha - 0.05 ) 
            end, 50, 20) 
            setTimer ( guiSetVisible, 1000, 1, Wnd, false ) 
        else 
            guiSetVisible ( Wnd, true ) 
            guiSetAlpha ( Wnd, 1 ) 
            showCursor ( true ) 
            guiSetInputEnabled ( true ) 
        end 
    end 
) 

الإستبدآل ,

السطر الثالث + السابع + التاسع + العاشر + الثاني عشر ( 12 ) + الرابع عشر ( 14 ) + الخامس عشر ( 15 ) ذذ ,

Wnd = اسم النافذة #

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...