Jump to content

|| طــلـب كود ||


Rm-Dj

Recommended Posts

سلالام علكيم

شباب بغيت الكود الي يخلي مثلا سويت نافذه

وابي لما اسكرها ابيها تتسكر بـ شويش

بغيت هل كود وان شالله فهمتوني :mrgreen::mrgreen:

Edited by Guest
Link to comment
bindKey ( "F2",'down',function() 
if guiGetVisible(GUIEditor_Window[1]) == true then 
showCursor(false) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.9) ) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.8 ) ) 
end,200,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.7) ) 
end,300,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.6) ) 
end,400,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.5) ) 
end,500,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.4) ) 
end,600,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.3) ) 
end,700,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.2) ) 
end,800,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.1) ) 
end,900,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0) ) 
guiSetVisible (GUIEditor_Window[1], false) 
guiSetInputEnabled(false) 
end,1000,1,true) 
end,100,1,true) 
elseif guiGetVisible(GUIEditor_Window[1]) == false then 
showCursor(true) 
guiSetInputEnabled(true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0) ) 
guiSetVisible (GUIEditor_Window[1], true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.1) ) 
end,200,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.2) ) 
end,300,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.3) ) 
end,400,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.4) ) 
end,500,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.5) ) 
end,600,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.6) ) 
end,700,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.7) ) 
end,800,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.-- s8) --> ) 
end,900,1,true) 
setTimer(function() 
guiSetAlpha ( GUIEditor_Window[1], tonumber(0.9) ) 
end,1000,1,true) 
end,100,1,true) 
end  
end)  

Link to comment

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