Jump to content

Help Me !


Recommended Posts

Posted

السلام عليكم

ابي كود للوحه

يعني لما اضغط الزر تظهر اللوحه ولما اضغط مره اخرى تختفي ببطئ

Posted

. :arrow:

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

Posted
ما زبط

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

  
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 ) 

Posted
  
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 ) 

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

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

Posted

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 
) 
Posted
تم الحل

شكرا خاص لسفاح

ونشكر كل المساعدين

حيّآكـ ألمهم انك فهمت وش الفكرة ومو آخذت الكود وخلصت الي عليك

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