Jump to content

Help Me !


Recommended Posts

ما زبط

أطرح الي سويته !

  
function setAlpha ( ) 
 local alp =   guiGetAlpha (Groups_Window) 
    if not alp <= 2 then 
    guiSetAlpha (Groups_Window,alp-7 ) 
    else 
     killTimer ( Time )   Time = nil 
    end 
end 
Time = setTimer ( setAlpha, 50, 0 ) 

Link to comment
  
function setAlpha ( ) 
 local alp =   guiGetAlpha (Groups_Window) 
    if not alp <= 2 then 
    guiSetAlpha (Groups_Window,alp-7 ) 
    else 
     killTimer ( Time )   Time = nil 
    end 
end 
Time = setTimer ( setAlpha, 50, 0 ) 

حطيت الكود وغيرت اسم النافذة وخلصت ؟

سوي حدث يوم يضغط الزر وبعدين اربط الكود مع الحدث

Link to comment

bindKey ( "F6", "down", 
    function ( ) 
        if ( guiGetVisible ( Groups_Window) == true ) then 
            if ( isTimer ( FadeTimer ) ) then return end 
            showCursor ( false ) 
            guiSetInputEnabled ( false ) 
            guiSetAlpha ( Groups_Window, 1 ) 
            FadeTimer = setTimer ( function ( ) 
                Alpha = guiGetAlpha ( Groups_Window) 
                guiSetAlpha ( Groups_Window, Alpha - 0.05 ) 
            end, 50, 20) 
            setTimer ( guiSetVisible, 1000, 1, Groups_Window, false ) 
        else 
            guiSetVisible ( Groups_Window, true ) 
            guiSetAlpha ( Groups_Window, 1 ) 
            showCursor ( true ) 
            guiSetInputEnabled ( true ) 
        end 
    end 
) 
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...