Karuzo Posted February 4, 2014 Share 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 Link to comment
Memory Posted February 4, 2014 Share Posted February 4, 2014 Command /neon ... in server side? Link to comment
DNL291 Posted February 4, 2014 Share Posted February 4, 2014 Try using this: executeCommandHandler( "neon", "blue" ) Link to comment
Karuzo Posted February 4, 2014 Author Share Posted February 4, 2014 Command /neon ... in server side? Yes it is. Try using this: executeCommandHandler( "neon", "blue" ) Doesn't work :-/ Link to comment
TAPL Posted February 4, 2014 Share Posted February 4, 2014 executeCommandHandler client side cannot execute server side commands. Link to comment
DNL291 Posted February 4, 2014 Share Posted February 4, 2014 Command /neon ... in server side? Yes it is. Then, use executeCommandHandler on the server-side. Link to comment
Karuzo Posted February 4, 2014 Author Share Posted February 4, 2014 So i should trigger it ? Link to comment
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