Prova501 Posted July 13, 2013 Share Posted July 13, 2013 addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.staticimage[3] then guiSetVisible ( CMember , false) guiSetVisible ( CRules ,true) guiSetVisible ( CInfo, false) showCursor(true) end end ) لمآ أضغط علىGUIEditor.staticimage[3] يطلعلي Rules بس لما اضغط على الصوره مره ثانية ما يقفلل الـــ Rules Link to comment
فاّرس Posted July 13, 2013 Share Posted July 13, 2013 سوي متغير , مثلا , local Show = false وسوي اذا ما كان المتغير يساوي false if not show then وبعدين رجعه false Show = false Link to comment
iPrestege Posted July 13, 2013 Share Posted July 13, 2013 addEventHandler( "onClientGUIClick",root, function ( ) if source == GUIEditor.staticimage[3] then if not guiGetVisible ( cRules ) then guiSetVisible ( CMember , false ) guiSetVisible ( CRules ,true ) guiSetVisible ( CInfo, false ) showCursor(true) else guiSetVisible ( CRules ,false ) showCursor ( false ) end end end ) Link to comment
Prova501 Posted July 13, 2013 Author Share Posted July 13, 2013 شكرآ أخوي فهد+ ذا بيست 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