Jump to content

[HELP] onClientGUIClick on labels


Anubhav

Recommended Posts

Hey everyone,

I din't ask help for long time but now I don't seem to find the issue.

I made a userpanel, and make DX buttons and a GUI label on them showing what is it.

I used onClientGUIClick and it doesn't work? Why? It doesn't output anything too, but the label is shown properly.

I tried outputting and it never outputs anythings?

  
addEventHandler( "onClientGUIClick", root,  
    function() 
        outputChatBox( 'You opened rules panel!', 221, 123, 124 ) 
        if enabled and source == labels['rules'] then 
            isRulesPanelShowing = true 
            outputChatBox( 'You opened rules panel!', 221, 123, 124 ) 
        end 
    end 
) 
  

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...