X-SHADOW Posted March 7, 2013 Share Posted March 7, 2013 Hello i have 2 GUI windows 1# Rob Bank #2 Job can i do this for both gui windows addEvetnHandler('onClientGUIClick', root, function ( ) if (source == yes ) then ---- else if (source == no then ---- else if ... do all click things in 1 event is it possable ? if yes then show me some Example Please Link to comment
PaiN^ Posted March 7, 2013 Share Posted March 7, 2013 Yes it is ... addEventHandler( "onClientGUIClick", root, function ( ) if ( source == button1 ) then guiSetVisible(wnd1, true) elseif ( source == button2 ) then guiSetVisible( wnd2, true ) end end ) Link to comment
X-SHADOW Posted March 7, 2013 Author Share Posted March 7, 2013 (edited) Going To Try . Edited March 7, 2013 by Guest Link to comment
X-SHADOW Posted March 7, 2013 Author Share Posted March 7, 2013 Ok Solved ! Topic Locked ! 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