Jump to content

ابي حلل ي مبرمجين


3ssol

Recommended Posts

    addEventHandler("onClientGUIClick",root, 
    function() 
        if (source == GUIEditor.gridlist[1]) then 
            local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) 
            local text = guiGridListGetItemText(GUIEditor.gridlist[1],sel,1) 
            if ( text == 'Eat' ) then 
                guiSetVisible ( GUIEditor.staticimage[1], false ) 
                guiSetVisible ( GUIEditor.staticimage[2], true ) 
                   elseif ( text == 'name' ) then 
                guiSetVisible ( GUIEditor.staticimage[1], true) 
                guiSetVisible ( GUIEditor.staticimage[2], false) 
      
            end 
        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...