Karuzo Posted February 4, 2014 Posted February 4, 2014 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
DNL291 Posted February 4, 2014 Posted February 4, 2014 Try using this: executeCommandHandler( "neon", "blue" )
Karuzo Posted February 4, 2014 Author Posted February 4, 2014 Command /neon ... in server side? Yes it is. Try using this: executeCommandHandler( "neon", "blue" ) Doesn't work :-/
TAPL Posted February 4, 2014 Posted February 4, 2014 executeCommandHandler client side cannot execute server side commands.
DNL291 Posted February 4, 2014 Posted February 4, 2014 Command /neon ... in server side? Yes it is. Then, use executeCommandHandler on the server-side.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now