☠ RaZeR ☠ Posted August 13, 2015 Share Posted August 13, 2015 شباب ابيه اذا ضغط مره ثانيه على زر winred يغلق نافذة mineu addEventHandler ( "onClientMouseEnter", root, function ( ) if source == winlogo then guiSetVisible(winred,true) guiSetVisible(winlogo,false) end end ) addEventHandler ( "onClientMouseLeave", root, function ( ) if source == winred then guiSetVisible(winred,false) guiSetVisible(winlogo,true) end end ) addEventHandler("onClientGUIClick", root, function () if source == winred then guiSetVisible(mineu , true) else guiSetVisible(mineu , false) end end ) Link to comment
[DONE]* Posted August 13, 2015 Share Posted August 13, 2015 شباب ابيه اذا ضغط مره ثانيه على زر winred يغلق نافذة mineu addEventHandler ( "onClientMouseEnter", root, function ( ) if source == winlogo then guiSetVisible(winred,true) guiSetVisible(winlogo,false) end end ) addEventHandler ( "onClientMouseLeave", root, function ( ) if source == winred then guiSetVisible(winred,false) guiSetVisible(winlogo,true) end end ) addEventHandler("onClientGUIClick", root, function () if source == winred then guiSetVisible(mineu , true) else guiSetVisible(mineu , false) end end ) استخدم *Event* onClientGUIDoubleClick Link to comment
☠ RaZeR ☠ Posted August 13, 2015 Author Share Posted August 13, 2015 لا ابيه اذا ضغط الزر مره يطلع اللوحة واذا ضغطها مره ثانيه يخفي اللوحه addEventHandler("onClientGUIClick", root, function () if source == winred then guiSetVisible(mineu , true) else guiSetVisible(mineu , false) end end ) Link to comment
Naif Posted August 13, 2015 Share Posted August 13, 2015 window = true addEventHandler("onClientGUIClick", root, function () if source == winred then if ( window == true ) then guiSetVisible(mineu,true) window = false else guiSetVisible(mineu , false) window = true end end end ) جرب .. Link to comment
H25 Posted August 13, 2015 Share Posted August 13, 2015 addEventHandler("onClientGUIClick", root, function () if source == winred then guiSetVisible(mineu, not guiGetVisible(mineu)) 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