Jump to content

x[مشكلة]x مشكلة فى tab


Recommended Posts

سلام عليكم

لدى مشكلة فى كود تاب انا كنت اريد اضا ضغطت على اسم التاب من فوق تقفل اللوحة كلها

الكود هذا ما يشتغل

guibutton = guiCreateButton ( ... ) 
addEventHandler ( "onClientGUIClick", tab1, function ( button, state ) 
    if button == "left" and state == "up" then 
        destroyElement ( guipanel )  -- Hide GUI 
    end 
end, false ) 

Link to comment

guibutton = guiCreateButton ( ... ) 
  
addEventHandler ( "onClientGUIClick", root, 
    function ( ) 
        if source == الزر then 
            guiSetVisible ( اللوحة , false)   
            showCursor(false) 
        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...