ALKiNg[Q.4]SLOOM Posted October 12, 2013 Share Posted October 12, 2013 السلآم عليكم ورحمه الله وبركاته عندي مشكله هي اذا ضغطت زر اختفاء النافذهه الماوس يبقى ما يروح addEventHandler ( 'onClientGUIClick',GUIEditor_Image[1], function ( ) if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1] , false ) end end,false ) Link to comment
AHMAD1234 Posted October 12, 2013 Share Posted October 12, 2013 addEventHandler ( 'onClientGUIClick',GUIEditor_Image[1], function ( ) if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1] , false ) showCursor(false) end end,false ) Link to comment
ALKiNg[Q.4]SLOOM Posted October 12, 2013 Author Share Posted October 12, 2013 نفس الشي Link to comment
AHMAD1234 Posted October 12, 2013 Share Posted October 12, 2013 نفس الشي بس showCursor(false) او اعادة تشغيل للسكربت قبل التجربة..؟ لان الكود صحيح!! تضيف Restart متأكد انك سويت showCursor(false) Link to comment
ALKiNg[Q.4]SLOOM Posted October 12, 2013 Author Share Posted October 12, 2013 يب متاكد Link to comment
AHMAD1234 Posted October 12, 2013 Share Posted October 12, 2013 يب متاكد الكود صحيح ما فيه اي مشكلة يمكن تكون المشكلة من كود ثاني يتعارض مع الكود ذا Link to comment
AboShanab Posted October 12, 2013 Share Posted October 12, 2013 طيب انت متاكد من اسم الزر و اسم النافذه ؟ Link to comment
ALKiNg[Q.4]SLOOM Posted October 12, 2013 Author Share Posted October 12, 2013 آيه متاكد نفس ذا addEventHandler ( 'onClientGUIClick',GUIEditor_Image[1], function ( ) if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1] , false ) end end,false ) اسسم الزر و النافذه Link to comment
BadBoy Posted October 12, 2013 Share Posted October 12, 2013 آيه متاكدنفس ذا addEventHandler ( 'onClientGUIClick',GUIEditor_Image[1], function ( ) if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1] , false ) end end,false ) اسسم الزر و النافذه addEventHandler ( 'onClientGUIClick',root, function ( ) if ( source == GUIEditor_Image[1] ) and ( guiGetVisible ( GUIEditor_Window[1] ) ) then guiSetVisible ( GUIEditor_Window[1] , false ) end end ) 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