Adham Posted May 20, 2016 Share Posted May 20, 2016 سلام عليكم انا عامل لوحة و Button اليضعط عليها يروح للوحة تتانيه انا عاوز لما يفتح اللوحة لتانيه ما يقدر يفتح لوحة الاوله من حرف خ وهوا فاتحها Link to comment
Adham Posted May 20, 2016 Author Share Posted May 20, 2016 ذا الكود لما يضعط علي الbutton يروح للوحة addEventHandler("onClientGUIClick",resourceRoot,function () if ( source == buttonTag ) then guiSetVisible(wnd2, false) guiSetVisible(wmd, true) showCursor ( wmd, false ) end end) edit # ما ظبت addEventHandler("onClientGUIClick",resourceRoot,function () if ( source == buttonTag ) then guiSetVisible(wnd2, false) guiSetVisible(wmd, true) showCursor ( wmd, false ) guiGetVisible(wnd2,false) end end) Link to comment
iKSApro Posted May 20, 2016 Share Posted May 20, 2016 unbindKey ليه الحوسه ذي يقدر يسويها يتحقق اذا كانت موجوده if ( guiGetVisible(window) == true ) then return end Link to comment
Adham Posted May 20, 2016 Author Share Posted May 20, 2016 ؟ addEventHandler("onClientGUIClick",resourceRoot,function Adham ( player ) if ( source == buttonTag ) then guiSetVisible(wnd2, false) guiSetVisible(wmd, true) showCursor ( wmd, false ) unbindKey ( player, "o", "down", adham ) end end) Link to comment
Abdul KariM Posted May 20, 2016 Share Posted May 20, 2016 ؟ addEventHandler("onClientGUIClick",resourceRoot,function Adham ( player ) if ( source == buttonTag ) then guiSetVisible(wnd2, false) guiSetVisible(wmd, true) showCursor ( wmd, false ) unbindKey ( player, "o", "down", adham ) end end) player من وين صرفت 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