Jump to content

executeCommandHandler Problem


Karuzo

Recommended Posts

Sup ,

so i have a problem with executeCommandHandler.

I wanted to make a Neon-Panel , ok , so the Commands are /neon red

and if i want to execute this command on button click , nothin happens.

addEventHandler("onClientGUIClick", Neon.button[1], 
    function() 
        executeCommandHandler("neon blue") 
        guiSetVisible(Neon.window[1], false) 
            showCursor(false) 
end) 

Idk if this is correct cause i don't know how i should put that space between neon and blue.

Hope you can help me :-)

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